Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DropDownList AutoPostBack="true"

Status
Not open for further replies.

ggeorgiou01

Programmer
Apr 11, 2005
60
GB
Hi,

I have a problem where I have a default.aspx page, with serveral usercontrols in the .aspx page.

I also have a dropdownlist on one of the controls with the attribute autopostback set to true. When i change the selectedindex of this dropdownlist, it always seems to remove the control from the page.

So basically, on change of my dropdownlist (or any other) how do I keep the state of my web-page ? Its starting to get very fustrating!

Many Thanks,
George
 
HI,

If you are creating the controls in fly you have to create the controls again after postback.

Thanks
kingston
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top