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
Post a Comment