是否可以保存和恢复完整的aspx页面? [英] Is it possible to save and restore a complete aspx page?

查看:120
本文介绍了是否可以保存和恢复完整的aspx页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的客户有这样的要求:

Our customers have this requirement:

  • 在一个搜索页面,应在当用户单击窗体上的搜索图标一个模式对话框(IFRAME)所示
  • 用户可以搜索,浏览他的搜索结果,并选择一个记录
  • 现在,模态对话框隐藏起来,用户观看记录
  • 当用户再次点击搜索图标,模态对话框显示再次

现在的一部分,我的问题:

Now the part for my question:

  • 当用户离开当前页面,并在页面上返回了几分钟,$ P $后再次psses的搜索图标,以继续他的搜索,他应该看到相同的页面,在那里他离开。

我preFER只保存完整的页面,当用户想再次查看搜索页面还原它。但我不知道这是否是可能的。

I prefer to just save the complete page and restore it when the user wants to view the search page again. But I don't know if that is possible..

我真的不希望保存所有的搜索过滤器,并再次进行搜索时,用户进入搜索页面,因为有> 100搜索过滤器和搜索可以同时。

I don't really want to save all the search filters, and do the search again when the user goes to search page, because there are > 100 search filters and the search can take while also.

这是从客户,他应该能够继续他的搜索硬性要求,都被他进入搜索页面再一次不应该从头开始。

It is a hard requirement from the customer that he should be able to continue with his search, and should not start over again every time he goes to the search page again.

感谢您在这所有的建议。

Thanks for all suggestions on this.

推荐答案

这听起来像你可以使用.NET的@OutputCache页声明与VaryByParam属性设置(如果搜索PARAMS是通过查询字符串,至少。)

It sounds like you could use .NET's @OutputCache page declaration with the VaryByParam attribute set (if the search params are pass through the querystring, at least.)

这篇关于是否可以保存和恢复完整的aspx页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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