Click here to Skip to main content
15,918,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello programmers.

i have a problem on how i can refresh my adding page.

i have a adding page for a new user, and on that page. i have a dropdownlist.
a don't have any problems in adding.

my problem is when i start adding again. the selected value of my dropdown is still remains.

and i want is when i add again a new user, my dropdown. will be reset back to my default value.


hope you can help me.
thank you.:)


-chaosgray-
Posted
Comments
walterhevedeich 7-Jun-11 21:26pm    
You might want to edit your question and post the relevant code so we can have a better understanding on your problem

You can try OnSelectedValueChange event and then Dropdownlist1.select the first value
 
Share this answer
 
Comments
chaosgray 7-Jun-11 22:53pm    
thanks a lot.
Just reset the value of your DropDownList after adding completion...
e.g. DropDownList1.SelectedIndex=0;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900