Last post Nov 12, 2009 01:46 AM by ratish_shriyan
Nov 11, 2009 11:29 PM|winned|LINK
I have a BaseUsercontrol
say suppose Base User Control has Load and create buttons
On my webpage , I have added this BaseUserControl.
UserControl1 and UserControl2 are loaded dynamically
How to handle the Load_Click and Create_Click of BaseuserControl in respective UserControls. I may also need to be able to use these events in the in the individual user controls as well as web page.
Nov 12, 2009 01:46 AM|ratish_shriyan|LINK
Implement IPostbackEventHandler, so that your control can handle postbacks. You can handle event in the respective control and also expose events so that can be handled elsewhere( Ex : Page ). The following article will get you started,
Hope this helps!