Justin Cooney

Web Development Tips and Examples

Category: DropDownList

  • If you work a lot with ASP.NET then it’s likely that at some point or another you will ask yourself how to hook up an XML Data Source with a DropDownList control. This just makes sense if you want to manage your drop-downs from a file rather than from a database, and carries a range…

  • When putting together a Web based form space can be at a premium. Select lists are typically auto-adjusted by your browser to be the length of the longest option in the list. But that just doesn’t work when space is tight and in many of my forms one doesn’t want the select list to automatically…

  • If you use (or want to use) .NET WebForms databinding then you know that dropdown lists can be tricky to populate and mange. For example, say you have a FormView control with an embedded DropDownList control that you want to bind and pre-select when someone views the form. It’s not immediately intuitive how to do…