Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am working on a asp.net C# ,I have one page on which a cascading dropdown and some text box.When data field on text box and value selected in dropdownlist and when I am redirect on another page and then click on browser back button all text box value get field with previuos data but cascading dropdown not get previous value. how to get previous data of page on browser back button click?
Reply ASAP............
Posted

1 solution

Maybe the problem lies in a _SelectedIndexChanged event, which goes off at the start of the page.
the problem is described here (and the solution too):

http://stackoverflow.com/questions/6679278/asp-net-dropdownlist-and-viewstate[^]

But unless I view your code (aspx + aspx.cs) there is no way to know for me..
 
Share this answer
 
v2
Comments
nira.parmar 24-Jul-12 2:01am    
I am using cascade dropdwon list and it is populated by a webmethod. when I am press back button of browser webmethod is recall and henced it is populated again then what i have to do?
woutercx 24-Jul-12 13:47pm    
Without the source code I asked, there's nothing what I can do to help you.

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