How to save history within UpdatePanel?

2019-02-17 10:40发布

问题:

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