c# - how to work more than one button in a asp form -


i have more 1 buttons in form. if click first button. text box created. while click on second button page refresh , text box gone.
how solve problem?

if mean dynamically create textbox when first button clicked, need create textbox on every postback.

instead, why not keep textbox permanently on page, have set invisible. when first button clicked, make textbox visible. save visibility state in session state.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -