English 中文(简体)
页: 1
原标题:asp.net 2.0 restore entire viewstate

我维持一个遗产伙伴关系。 净额2.0个网络格式应用程序,我不提供细节,以避免问题复杂化。 我只想问,谁知道如何有效地恢复整个观点。 必要时,我可以提供更多细节,但我想作一些一般性发言。 我希望我能够使用LoadPageStateFromPersistenceMedium(),但这似乎是一种受保护的方法。 阅读似乎表明,我必须使用一个习俗类别来继承Persister阶层,并利用它的方法恢复整个国家。 只是想从经验丰富的开发商那里获得一些投入。 感谢。

问题回答

Good article here: http://www.codeproject.com/Articles/7655/Persisting-the-state-of-a-web-page

这恢复了对恢复请求的看法、转告所有控制以及会谈。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签