如何获取历史记录的页面? [英] How to get history back of page?

查看:85
本文介绍了如何获取历史记录的页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在asp.net C#上工作,我有一个页面上有一个级联的下拉列表和一些文本框.当文本框上的数据字段和下拉列表中的值被选中时,以及当我重定向到另一页上然后单击浏览器后退按钮时所有文本框值都将获得包含前一数据的字段,但级联下拉列表将不会获得前一值.如何在浏览器后退按钮单击上获取页面的先前数据?
尽快答复............

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............

推荐答案

也许问题出在_SelectedIndexChanged事件,该事件在页面开始时消失.
问题在这里描述(以及解决方案):

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

但是除非我查看您的代码(aspx + aspx.cs),否则对我来说是无知的..
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..


这篇关于如何获取历史记录的页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆