DropDownList Selected Item
Could anyone help me with an example of how to make a users previous selected
value stored in a cookie the Default item for the drop down list. The drop
down list is a databound control.
I hope this makes sense.
Thanks in advance for your help.
say your drop down list is dropdown1.. try this code snippet
dropdown1.Items.FindByValue("your cookie value").Selected = true;
Hope this solves your problem
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center