I am loading a user control on my default page. Deafult page having a button on which click i am loading The UserControl.
But Using the above the events of the usercontrol are not firing.
If I load control on Deafult page load then the Usercontrol events are working fine..
So what is wrong with loading the control with the click event.
If you create dynamic controls then as you have noticed you need to re-create them when you post back the page.
See this guide for details or this old but still relevant article