开发者

view state in usercontrols

开发者 https://www.devze.com 2023-01-13 02:30 出处:网络
Is it necessary to reload the viewstate of usercontrols during postback? I 开发者_如何学Cwant to know in which case viewstate is set by default.no it\'s not necessary that everytime view state of a us

Is it necessary to reload the viewstate of usercontrols during postback? I 开发者_如何学Cwant to know in which case viewstate is set by default.


no it's not necessary that everytime view state of a usercontrol or webcontrol will be set. it can be controled during page cycle if viewstate properties of a control set =false then it will not set while page is postback. autopostback.

you can also control viewstate properties of a usercontrol and webcontrol in pre_int stage of life cycle. you can also off tracing of view state in pre_int stage of life cycle. for more information link text

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号