rahul ahuja

rahul ahuja

  • NA
  • 80
  • 35.9k

Create Dynamic control in visual web part

Aug 27 2016 12:07 PM
Hi every one,
 
I have control list into DB on that basis i need to create dynamic control but when i create them on page_load and it is rendered as expected but if i click on the button which is generated dynamically it wipe out all my controls and even Registered Evert of that Dynamically created button is not fired can some help me how i can do that. 
 
I have referred below link for creating dynamic creating controls
 
http://www.dotnetbull.com/2013/09/maintain-dynamic-control-events-data-during-postback.html 
 
 
 
Thanks In advance.
  

Answers (1)