ASP.NET ComboBox - Reset Selection


 
Reset


This example shows how to reset the selection from the ComboBox to the initial selection.
The initial selected index was cached in a client-side variable when the page was loaded
and then it is used as a parameter for the "selectedIndex" method when the "Reset" button
is clicked.



« Back to examples