摘要: Abstract: 通过一个简单的 web application, 学习以下内容: (1) ListView control (2) User control (3) Handle ViewState in User control (4) FindControl() usage, especially when there is a Master page. 本文主要讲述第3部分,如何在User Control 里面处理ViewState 上一篇中提到用User Control PassRateProgressBar 来显示每个学生的及格率。表面上看,一切都好。但是当页面Postback的 阅读全文
posted @ 2009-11-01 17:24 FangwenYu 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Source: http://msdn.microsoft.com/en-us/library/ms972976.aspxViewState本质: The view state of a page is, by default, placed in a hidden form field named __VIEWSTATE. This hidden form field can easily get very large, on the order of tens of kilobytes. Not only does the __VIEWSTATE form field cause slow 阅读全文
posted @ 2009-11-01 14:02 FangwenYu 阅读(651) 评论(0) 推荐(0) 编辑