Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
2412 Points
415 Posts
Apr 30, 2012 06:30 PM|LINK
You can leave the dropdownlist databound however you need, but after it is databound you can call
dropdownlist.items.insert(0, new ListItem("All items"));
See article from 4guysfromrolla
http://www.4guysfromrolla.com/webtech/073101-1.shtml
texx
Contributor
2412 Points
415 Posts
Re: How to add one additional option to the start of a databound dropdown list?
Apr 30, 2012 06:30 PM|LINK
You can leave the dropdownlist databound however you need, but after it is databound you can call
dropdownlist.items.insert(0, new ListItem("All items"));
See article from 4guysfromrolla
http://www.4guysfromrolla.com/webtech/073101-1.shtml