Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DropDownList initialization question
Message
From
04/05/2004 16:26:43
 
 
To
04/05/2004 15:43:49
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00900902
Message ID:
00900926
Views:
31
This message has been marked as the solution to the initial question of the thread.
JB,

That's what I would have thought...however, in Web Forms (this is from a prior message from Cathi Gero), the Web forms DropDownList does not allow setting the SelectedIndex to -1. You need to do something like...

this.DropDownList1.DataBind();
this.DropDownList1.Items.Insert(0,"");

The original message ID for this was 884676

K
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform