如何:后退按钮的支持和QUOT;阿贾克斯"按钮、QUOT、阿贾克斯

2023-09-03 00:00:37 作者:暖光

我有一个asp.net AJAX网站,它充满了事情发生在同一页上没有页面重载,如记录排序,分页,... 当用户转到另一页在同一站点和preSS浏览器后退按钮,我怎样才能使浏览器保存页面状态恢复到它与preselected选项,例如排序选项,页面数量分页。

I have an asp.net ajax website, it full of things happen on the same page without page reload, such as sorting records, paging,... When the user go to another page in the same site and press the browser back button, how can i make the browser save the page state to return to it with the preselected options such as sorting option, page number in the paging.

我知道有一个历史控制在新的.NET 3.5,但其在同一个页面,而不是从一个页面到另一个导航工作。 此外,我要寻找一个在所有浏览器这些工作的解决方案。

I knew that there is a history control in the new .net 3.5 but its working in the same page not while navigating from a page to another. Also i am looking for a solution which work in all browsers.

谢谢

推荐答案

您不需要3.5的历史控制,此处检查ScottGu的博客

You dont need 3.5 for the history control, check ScottGu's blog here

同时检查这篇文章可以帮助