Posted on: 9/11/2013 9:37:31 AM | Views : 637

Hi All,
Its been quite a long time since i am struggling with this issue. 
I have an aspx page where on a button click I am adding a user control dynamically through codebehind. 
In user control I am using a gridview where I have some databound fields and Itemtemplates as well. There is a linkbutton inside the item template inside the gridview. The link button has a click event.
When i click the link button, the click event is not firing and also the user control is getting disappeared.
I have gone through the web search and found that i need to register the controls on every postback and use a OnInit function.
I am trying with that approach but still not yet succeeded. 
Can anyone help me with some example?
Appreciate your help.
...

Go to the complete details ...