我为一个 web 应用程序创建了一个管理页面,它主要是 ajax。页面中的几乎所有事件都会更新页面上的 UpdatePanel 之一。
如何在用户的历史记录中保存每个 UpdatePanel 状态,以便当用户按下浏览器“后退”按钮时,他们不会被重定向到登录屏幕?
最佳答案
.NET 3.5 SP 1 中添加了管理历史记录的功能。这里有一些资源可以帮助您快速上手。
Introduction to ASP.NET Ajax History
ASP.NET Podcast Show #117 - Using the History Functionality with the ASP.NET AJAX UpdatePanel in .NET 3.5 Service Pack 1 Beta 1
ASP.NET Podcast Show #119 - Using the History (Back) Functionality with the ASP.NET AJAX Web Services in .NET 3.5 Service Pack 1 Beta 1
关于ajax - 如何在 UpdatePanel 中保存历史记录?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/365060/