开发者

Textbox control dont lose value on postback if viewstate is disabled

When we disabled the viewstate in gridview its 开发者_高级运维lose value but this case not true with Textbox control why?


Because TextBox doesn't need ViewState to persist its value. It just fetches it from the POST request during initialization.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜