.Net

Clearing and setting selected value of asp:dropdownlist

December 13, 2011 Chuck .NetProgrammingVB.NetVisual Basic

On page postback when a “clear selection” button was pressed, I wanted to set the value of a drop down list back to the default state. ‘ddldays is the ID of the asp:dropdownlist in my application. ‘first we clear the current selection, this prevents an error where the application thinks you are trying to select [...]

More

0

Powered by WordPress and HQ Premium Themes.