1

I have read this page: Viewstate n page lifecycle and also ASP.NET page lifecycle . My questions are these:

1 - Instantiaton means that the code for the control hierarchy is CREATED, and then in Initialization stage, it's executed, right?

2 - Does the Instantiation stage which is described in the page lifecycle, occur everytime? That is, does this occur for the first time and also during postbacks??

4

1 回答 1

1

是的,每次页面加载(包括回发)时都会重建控件层次结构。

在回发时,控件使用来自 ViewState 的值进行水合。

于 2013-02-02T12:47:20.093 回答