Feb 10, 2010

Blank items in DropDownList controls

After playing with JQuery to dynamically insert a blank option in my DropDownList but not finding a way to maintain the logic through a postback, I came across this wonderful post from Tomas Ekeli:


Works perfectly! Thrown in a RequiredFieldValidator with an InitialValue property and you're set.

No comments:

Post a Comment