|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DropDownList Refuses To Show New SelectedValueI have a webform that contains a DropDownList. When the user selects a new
value and I click the submit button, the previously selected SelectedValue property is used in my code. This is obviously preventing me from updating my database, or even allowing the user to do anything that involves the value of this DropDownList. What could the problem be here? I am using ASP.NET 1.1 with Visual Studio .NET 2003 and am doing my testing with Internet Explorer 6.0 on Windows XP Professional SP2. Thanks. Perhaps you're rebinding the control to your datasource in some other
event further up the stack (like init or load), and thus losing the value that was actually posted back? Alternatively, other weird behaviour ensues when the ID of the control changes between postbacks. Jono Nathan Sokalski wrote: Show quoteHide quote > I have a webform that contains a DropDownList. When the user selects a new > value and I click the submit button, the previously selected SelectedValue > property is used in my code. This is obviously preventing me from updating > my database, or even allowing the user to do anything that involves the > value of this DropDownList. What could the problem be here? I am using > ASP.NET 1.1 with Visual Studio .NET 2003 and am doing my testing with > Internet Explorer 6.0 on Windows XP Professional SP2. Thanks. > -- > Nathan Sokalski > njsokal***@hotmail.com > http://www.nathansokalski.com/
NULL dates show today's date rather than a blank or NULL on form
NewBie start a windows service remotely Try Catch Overkill Try Catch Overkill Trouble with a console app line replacing ideas Looking for online articles/tutorials or good reference books Write an XML node Auto Gen Properties from fields |
|||||||||||||||||||||||