How to put a method to an event on server side?
I create dynamicly a webDialoagWindow, but i want to put some method to the disposed event.
wb.Disposed =
"recuperationChangementInterface";
I know this line is wrong, but how can i do it?
thx
Gabriel Deschênes
HI ,
the Visual Studio Designer will help you do this.
Type this
WebDialogWindow1.Disposed +=
Then Intellisense takes over - and hit the tab key two times - the event gets created for you.
protected void Page_Load(object sender, EventArgs e) { WebDialogWindow1.Disposed += new EventHandler(WebDialogWindow1_Disposed); }
void WebDialogWindow1_Disposed(object sender, EventArgs e) { throw new NotImplementedException(); }