Click here to Skip to main content
14,924,665 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using some dropdown lists in my project in which the first item is 'select'. If the application is running on Windows XP system when a button is clicked the dropdownlist selected item is automatically changes to the first value and I'm not getting the desired output. What can I do for it? Anyone pls help me...

Thank you.
Posted
Comments
Prasad_Kulkarni 12-Mar-12 5:43am
   
Your page is getting refreshed that's the reason. Simply use update panel to avoid page refresh.

You need to examine the ViewState property:

ViewState and Postback[^]
   
Hi there,
This is the property of asp.net web application that after refreshing the page all the variables or controls is reassigned..

Use Update Panel to Avoid this error..

all the best..
   

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