Click here to Skip to main content
15,867,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I selected one item from the listbox and moved to another page.now Iam having the listbox selected item value now when I move back to the listbox page how can i show the listbox previous selected value.
Posted

Save the value in the session state, then upon reload assign the value from session state to the listbox (after loading the listbox values).
 
Share this answer
 
Comments
lakshmichawala 1-Oct-13 3:19am    
what is the listbox property to set the value again
_Damian S_ said is correct. session is the best way for tracking values in all pages, but you can also use view state to maintain the values.
 
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