S
sklett
I'm not real experienced with asp.net so this may be obvious.
I've got a situation where some of my client side javascript is causing my
posted form's controls to lose their values.
In other words, I have a server control TextBox, I enter some text, my
client side scripts do some stuff and in the Page_Load method after
submitting the form the value for my TextBox is empty.
If the javascipt doesn't run, the values are fine. I've looked over the
javascript code and don't see anything obvious, so I wanted to try and
determine how asp.net retrieves the values from a posted form and assigns
them to the server controls. In other words, how does a TextBox control
get the value back from the posted form?
can I access the field values in the HttpRequest after submitting the form?
I've done this with the query string, but how do I access the fields when
the method is a POST?
This is a weird problem, I may be barking up the wrong tree but I need to
start somewhere? :0(
Thanks for any help,
Steve
I've got a situation where some of my client side javascript is causing my
posted form's controls to lose their values.
In other words, I have a server control TextBox, I enter some text, my
client side scripts do some stuff and in the Page_Load method after
submitting the form the value for my TextBox is empty.
If the javascipt doesn't run, the values are fine. I've looked over the
javascript code and don't see anything obvious, so I wanted to try and
determine how asp.net retrieves the values from a posted form and assigns
them to the server controls. In other words, how does a TextBox control
get the value back from the posted form?
can I access the field values in the HttpRequest after submitting the form?
I've done this with the query string, but how do I access the fields when
the method is a POST?
This is a weird problem, I may be barking up the wrong tree but I need to
start somewhere? :0(
Thanks for any help,
Steve