Click here to Skip to main content
15,912,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

How to maintain dynamic dropdownlist viewstate?

I am putting all dynamic tables in viewstate but it is not working for dropdown. Reading textbox's viewstate is working fine.
Posted
Updated 5-Jan-11 18:50pm
v3

See THIS[^] may help you.
 
Share this answer
 
Comments
srinivasvempa 6-Jan-11 0:58am    
i am using dynamic table with dropdown list and textboxes. above link not usefully for my problem anyway tanx
By any chance, are you re-populating the dropdown before reading the value selected in the dropdown? Generally that is the mistake. If you do so, selection would get lost.
Use DEBUGGER and see how the execution is happening.
 
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