开发者

Is EnableViewState property inherited by child controls?

<div runat="server" enableviewstate="false">

    <div runat="server" enableviewstate="false"></div>

</div>

What happends if I开发者_如何学Python won't set the enableviewstate property for the second div. Is it inherited from it's parent or not ?


it get inherited form the parent one.

EnableViewState property on any container will override the behavior of all controls within that contain

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜