Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
Server side events not getting fired when opening WebDialogWindow client side
posted

 

Hi,

I am having a major problem in my project. I've a requirement where a webdialogwindow pops up with list of users and one of them can be selected and when hit "ok", I've server side code that runs behind to save the record....but now, the problem is that I am opening the dialog using client side script -

var dialog = $find("<%= WebDialogWindow1.ClientID %>")

dialog.set_windowState($IG.DialogWindowState.Normal);

OR dialog.show();

The server side events are not getting fired in this case (for the "Ok" server side button in the screen below). But, when I am opening the dialog using server side code or if I am keeping it open forever with window state set to normal at design time, the events fire. It's really problematic for me. Is there an issue with WebDialogWindow? Is there a workaround?

Thanks,

Kala