P
PJ6
I have a textbox control where OnKeyPress of Enter, a few hidden field
values are set and then form[0] is submitted from JavaScript. The page
reloads, and this textbox is then repopulated with data that may be
different than what the user just entered. Well, I'm having a problem with
this textbox getting its value set after the page Load event to the text the
user just entered - even when I've explicitly disabled ViewState! I found a
way around this by changing the ID of the TextBox every time the page loads
using a GUID... but is this really necessary? I must have missed something -
there must be a way of preventing the browser from blithely ignoring my
request not to record viewstate, right?
Paul
values are set and then form[0] is submitted from JavaScript. The page
reloads, and this textbox is then repopulated with data that may be
different than what the user just entered. Well, I'm having a problem with
this textbox getting its value set after the page Load event to the text the
user just entered - even when I've explicitly disabled ViewState! I found a
way around this by changing the ID of the TextBox every time the page loads
using a GUID... but is this really necessary? I must have missed something -
there must be a way of preventing the browser from blithely ignoring my
request not to record viewstate, right?
Paul