"Curt Emich" <ce****@comcast.net> wrote in message news:<CN********************@comcast.com>...
Is there a better way in .NET to preserve the state of say, a dropdown list
other than using hidden fields and the like? I've noticed that the method
"SelectedIndexChanged" of a dropdown list is only called when "Autopostback"
is true. This seems to defeat the purpose altogether.
When I change the value in a dropdown listbox, I want to know what the
ORIGINAL value was so that I can PRESERVE that value when the page is
re-rendered. As it stands, I don't see any method that is fired BEFORE
postback that would allow me to store the original value of the listbox.
Do I just go back to good old fashioned javascript?
If you are thinking of returning to JavaScript
take a look at DecisionScript at
www.VanguardSW.com
No more stateless worries - DecisionScript takes care of that for you.
=> Drop me a note by e-mail if this seems interesting to
you. Please include a copy of this message with your reply
-----
Jeff Bennett
Je**@Bennet-Tec.Com
* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
*
WWW.Bennet-Tec.Com
=================== ===================