如何:后退按钮的支持和QUOT;阿贾克斯" [英] How to: Back button support "Ajax"

查看:225
本文介绍了如何:后退按钮的支持和QUOT;阿贾克斯"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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的历史控制,<一个href="http://weblogs.asp.net/scottgu/archive/2006/09/14/Tip%5F2F00%5FTrick%5F3A00%5F-Enabling-Back%5F2F00%5FForward%5F2D00%5FButton-Support-for-ASP.NET-AJAX-UpdatePanel.aspx"相对=nofollow>此处检查ScottGu的博客

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

同时检查<一href="http://geekswithblogs.net/frankw/archive/2008/10/29/enable-back-button-support-in-asp.net-ajax-web-sites.aspx"相对=nofollow>这篇文章可以帮助

这篇关于如何:后退按钮的支持和QUOT;阿贾克斯&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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