Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com

There is a common requirement to have DropDownList populated from Collection(e.g.DataTable) with extra (usually default) option "Please Select".
I wanted to find a custom control that will allow to specify this extra option and use standard DataSource/DataBind.
I wasn't able to find it in Google, so probably I will write it myself.

Relevant links to consider:An ASP.NET 2.0 AutoComplete DropDownList...  

'Dropdown1' has a SelectedValue which is invalid

MetaBuilders.ComboBox[^]

Posted on Tuesday, October 16, 2007 10:39 AM ASP.NET | Back to top


Comments on this post: Custom DropDownList with DataBind and extra option "Please Select"

# re: Custom DropDownList with DataBind and extra option "Please Select"
Requesting Gravatar...
Could you not create a control of your own that inherits from the dropdown...with a property of first item message?
Left by Andrew Siemer on Oct 17, 2007 7:47 AM

Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net