I created an admin page for a web application, and it's mostly ajax. Almost all the events in the page update one of the UpdatePanels on the page. How can I save each UpdatePanel state in the user's history so when the user pushes the browser "back" button they wont get redirected to the login screen ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The ability to manage history was added in .NET 3.5 SP 1. Here are some resources that will help get you up to speed.
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