xtremeLogic
Programmer
Hi,
I have a hidden form field that I use to keep track of some client side changes in my aspx page:
However, when I try to read the value of the control on postback, I get a null reference:
When I run a debug on this line, I get strDeliveryMethod = Nothing. I have also done some Watches to check Request.Params and Request.Form but I can't seem to find my hidden control in the list.
I would really appreciate it if someone could tell me how to get the value of a hidden form field on postback.
Thanks,
I have a hidden form field that I use to keep track of some client side changes in my aspx page:
Code:
<input type="hidden" id="hdDeliveryMethod" value="delivery">
However, when I try to read the value of the control on postback, I get a null reference:
Code:
Dim strDeliveryMethod As String = Request.Params("hdDeliveryMethod")
I would really appreciate it if someone could tell me how to get the value of a hidden form field on postback.
Thanks,