开发者

Is EnableViewState property inherited by child controls?

开发者 https://www.devze.com 2022-12-31 21:15 出处:网络
<div runat=\"server\" enableviewstate=\"false\"> <div runat=\"server\" enableviewstate=\"false\"></div>
<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

精彩评论

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

关注公众号