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

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -