与更新面板浏览器后退按钮 [英] Browser back button with update panels

查看:112
本文介绍了与更新面板浏览器后退按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个asp.net/c#应用程序中,我有我的主网页上的更新面板。而网页上的所有通过更新面板更新。

In an asp.net/c# application, I have an update panel on my main page. And everything on the page is updated via the update panel.

所以,只有一个页面,所有的变化是使用异步回发在更新面板制成(局部回传)

So there is only one page and all the changes are made in update panels using asynchronous postback (partial postback)

我的问题是:有没有一种方法,使浏览器后退按钮工程和返回页面,这是previous状态?

My question is: Is there a way to make the browser BACK button works and return the page to it's previous state?

希望我是清楚的。

非常感谢您的任何帮助。

Thank you very much for any help

更多信息:我想实现这个的http://rchern.word$p$pss.com/2008/05/11/updatepanel-backforward-browser-navigation/但我无法使它工作。

more info: I tried to implement this http://rchern.wordpress.com/2008/05/11/updatepanel-backforward-browser-navigation/ but I wasn't able to make it work.

推荐答案

这往往是一个问题,你可以看看在答复中提到这个问题的资源:

This is often a problem you could look at the resources mentioned in the answer to this question:

如何内的UpdatePanel保存历史?

这篇关于与更新面板浏览器后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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