DropdownList reset to to index 0 on load
Posted
by Andrew
on Stack Overflow
See other posts from Stack Overflow
or by Andrew
Published on 2009-03-23T17:14:54Z
Indexed on
2010/03/17
5:01 UTC
Read the original article
Hit count: 286
Hi,
How would I reset my asp:DropDownList element (which has a runat="server") to index 0 every time the page is "reloaded" in firefox (F5 is pressed).
If you suggest using javascript...please note that A: I am not using a form and B: I don't know how to access elements that have a runat="server" with javascript
If this can be done using script on the .aspx page....please explain things you think an ASP newb would not know (ie. me, lol)
thanks, Andrew :)
© Stack Overflow or respective owner