Click here to Skip to main content
15,889,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in c# asp.net 2.0 on clicking dropdown selected index changed ,the previous textboxes i.e.password textbox and confirm password textbox are getting cleared dont know where i am making mistake ..it should not get cleared ..is there any possible way for the textboxes not to get cleared..and i have'nt wrote any code for getting cleared too in dropdown selected index changed..please anyone tel me where i am going wrong..
Posted
Comments
bbirajdar 27-Mar-13 8:01am    
I can see there is problem in your code..

1 solution

you can use the AJAX control. ADD the drop down list in the update panel of the ajax control and when you change the selection in the dropdown you will only refresh the panel but not the page hence your values will remain as it is.
 
Share this answer
 
v2

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