Click here to Skip to main content
16,020,840 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
I have search code in that i used dropdownlistbox,button.

my first seach is on button _click event
my second search is on dropdownlist_SelectedIndexChanged event

pls give me a code how to maintain viewstate in each postback.
its urgent.
Posted
Updated 21-Aug-12 20:23pm
v2
Comments
_Amy 22-Aug-12 2:24am    
What have you tried yet?
niki_nilu 22-Aug-12 2:31am    
i don't know about viewstate code.
AmitGajjar 22-Aug-12 2:46am    
Read MSDN

1 solution

Hey hii niki _nilu,
Check Below Article about view state and Postback.
It Will helpfull for you..
All the best.
ViewState and Postback
 
Share this answer
 
v2
Comments
niki_nilu 22-Aug-12 8:38am    
not understand
if viewstate is automaticaly save
then why use code.

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