开发者

how to make textbox text will not disappear on button click event?

I have TextBox and button1 on my asp.net webform.

I want when I click button1 then the text on the TextBox will remain the same as it is. It will not disappear, on butto开发者_如何学Gon click event.

I want vb.net code to do this


You need to make sure that you have ViewState enabled - it is enabled by default but it is possible that you have disabled it (either for the TextBox, or possibly for the entire page).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜