Groups | Blog | Home
all groups > asp.net webcontrols > october 2004 >

asp.net webcontrols : DropDownList with EnableViewState="false"


Rajagopal
10/7/2004 5:30:20 AM
Hi all,
I am trying to fire SelectedIndexChanged event at server
with EnableViewState = "false". Since I have more than 10
DropDownLists in single page, I don't want values of
DropDownList maintained in ViewState. Is there any way
that I can do it without ViewState?

Thanks,
Rajagopal
Rajagopal
10/7/2004 9:42:55 PM
At last I found a workaround. Instead of storing values in
ViewState, I am storing only the changes in a Hidden
Variable. so only I need to compare my hidden value to
fire PostBackData changes event.

Thanks,
Rajagopal
vkmraja at hotmail dot com

[quoted text, click to view]
Robert Koritnik
10/8/2004 3:56:56 PM
you could have done it by redatabinding on every postback as late as in
PageLoad. Taht way change events could fire.

--
RobertK
{ Clever? No just smart. }


[quoted text, click to view]

AddThis Social Bookmark Button