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!

SelectedIndexChange not working 1

Status
Not open for further replies.

bthale

Programmer
Oct 31, 2001
108
US
I have a DropDownList control, but the SelectedIndexChanged event does nothing, I am not using the latest ASP.NET, so AutoPostBack is not an option.
 
Why is AutoPostBack not an option? If this property is not set to TRUE, then the event won't fire.

Jim
 
Because it is not an attribute in the version of ASP.NET I'm using. I think my VIsual Studio is 2003 version. I'm positive this should work in this version, but I can't figure it out. There is an attribute called AutoEventWiring, and it is set to true.
 
AutoPostBack is a property of the dropdownlist control. Autoeventwiring has to do with the page.
 
Oh, didn't know that. It's what I get when you come from a java background. I'm writing this for myself and I like Microsoft tools and ASP better.
Thanks
 
Not a problem. Just keep plugging away and you will get it. Doing is the best way of learning...

Jim :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top