c# - restore dynamically created javascript table structure after asp.net button post back -


on runtime creating table structure using javascript , appending div placed in update panel. problem here is, when use asp.net button control, onclick of button posts page server , whatever javascript tables have created goes off. when use html input button (input type="button") don't face problem , tables stay there. have use asp.net button take necessary actions on server side. there way can restore structure or use asp.net button control alongwith dynamic javascript. appreciated.

thanks.

you need save table structure in hidden field before clicking/submitting on asp.net button. on post back, can redisplay that. asp.net button has property onclientclick, can use property.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -