In a page , when I click a button 'showDialog' I am loading the user control dynamically in a dialog. I am linking to the event in the user control as explained below. The parent page is not receiving this event.
ex: (This is in the page class)
UseControl1 gc = dlg.LoadContent(:\UserControl1.csx);
gc.CausePostback += new EventHandler(execute_CausePostback());
// I am trying to update the details grid in parent page
In UserControl class after clicking the submit button
raise event CausePostBack();
Any help is appreciated.
View Complete Post