有个部落

一晃就半个十年,思念如潮...
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年10月8日

摘要: 作者:Infinities Loop 概述 ViewState是一个被误解很深的动物了。我希望通过此文章来澄清人们对 ViewState的一些错误认识。为了达到这个目的,我决定从头到尾详细的描述一下整个ViewState的工作机制,其中我会同时用一些例子说明我文 章中的观点,结论。比如我会用静态控件(declared controls)和动态控件(dynamic controls)两个方面来说明同一个问题。 现在有关ViewState的文章可谓多如牛毛,你可能会说再写有关 ViewState的文章无异于炒剩饭(我这篇文章便是:D)。但是我却不这么认为,如果把ViewState看成一匹野马的话. 阅读全文

posted @ 2011-10-08 11:59 Leo.W 阅读(261) 评论(0) 推荐(0) 编辑

摘要: Invalid character in a Base-64 string(ASP.NET) Filed under: ASP.NET 2.0,programming — delroger @ 11:16 am Just came across a very peculiar problem with a website I’m developing. Some visitors to the website hit an error every time they click one of the controls on a particular page; the pag... 阅读全文

posted @ 2011-10-08 11:25 Leo.W 阅读(992) 评论(0) 推荐(0) 编辑

摘要: We have been getting some questions regarding viewstate-related errors like "The viewstate is invalid for this page and might be corrupted" This error is usually caused by the asp worker process or the server recycling. By default, ASP.NET encrypts the viewstate using an Autogenerated Key 阅读全文

posted @ 2011-10-08 11:06 Leo.W 阅读(398) 评论(0) 推荐(0) 编辑