adding asp.net user control dynamically using Jquery problem -


i adding asp.net user control through jquery on button click in main form dynamically. have added control main page. issue control contains button in , whenever click on button cause whole page reload , hence control washed away.

can tell me going wrong , need do. need perform actions on button click of control. can stop page reload or how can render control again in main page whenever page refreshed??

thanx

you'll have reinitialize control every time after postback, using scriptmanager's registerstartupscript().


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -