all groups > asp.net building controls > september 2004 >
You're in the

asp.net building controls

group:

How can I persist the state of a DropDownList control


How can I persist the state of a DropDownList control nail
9/27/2004 9:58:17 PM
asp.net building controls: Greetings,
I"m develop a custom control (render). It inherits a ListControl.
In the Render method, I apply an ArrayList to the DataSource property and
call the DataBind method.
So, how can I get the SelectIndexChanged event?
In other words, how can I know when the user change the dropdownlist
selected item, after all, in the LoadPostData method the postcollection came
null every time.

Thanks.

nail.

Re: How can I persist the state of a DropDownList control nail
9/28/2004 5:38:30 PM
Thanks.
I resolve with a ViewState field.

nail

[quoted text, click to view]

AddThis Social Bookmark Button