Buho1
Member
Hi all. I have a very strange question, I'm not sure how to search on it (I have been searching the net for the past several hours).
I have an ASP.NET label that I set the Text property to "<INPUT type=""hidden"" id=""pnlX"">50</INPUT>"
Now, I also have some Javascript that gets this data very easily and uses it correctly. When it's done, it puts a new value back into this hidden field. The problem is VB.NET, OnPostBack, doesn't see the change in the label. I think it's getting it's Text value from VIEWSTATE. Fine. I have Plan B.
Plan B: I want to access the incoming data stream from the POST event when the form was submitted to the webserver. Here's my problem: I have no clue where this input stream is in the .NET framework. Can someone direct me to how I can access it? I'm thinking something like Me.Request....
This is a strange request. How do you move data generated by JavaScript back to VB.NET? Any help much appreciated!
Oh yeah, I'm trying to avoid visible text fields for GUI reasons only, not security reasons (the data itself is non-critical GUI-releated).
I have an ASP.NET label that I set the Text property to "<INPUT type=""hidden"" id=""pnlX"">50</INPUT>"
Now, I also have some Javascript that gets this data very easily and uses it correctly. When it's done, it puts a new value back into this hidden field. The problem is VB.NET, OnPostBack, doesn't see the change in the label. I think it's getting it's Text value from VIEWSTATE. Fine. I have Plan B.
Plan B: I want to access the incoming data stream from the POST event when the form was submitted to the webserver. Here's my problem: I have no clue where this input stream is in the .NET framework. Can someone direct me to how I can access it? I'm thinking something like Me.Request....
This is a strange request. How do you move data generated by JavaScript back to VB.NET? Any help much appreciated!
Oh yeah, I'm trying to avoid visible text fields for GUI reasons only, not security reasons (the data itself is non-critical GUI-releated).