ASP.NET ComboBox - Reset Selection
Zimbabwe
230
Zambia
229
Yemen
228
Wallis and Futuna
227
Wales
226
Virgin Islands
225
Vietnam
224
Venezuela
223
Vatican City
222
Vanuatu
221
Uzbekistan
220
USA
219
Uruquay
218
United Arab Emirates
217
Ukraine
216
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