Hi,
I am displaying a popup window by setting ContentPane.ContentUrl property of WebDialogWindow to an .aspx page (let's say Sample.aspx). I have a close button on Sample.aspx page. I want to close the WebDialogWindow on Sample.aspx btnClose_Click() event.
Could you help me how to close WebDialogWindow on close button click???
Thanks you in advance.
Vijay Jaiswal
Hello Vijay,
If you execute the following client side code when the button on your content url page is clicked, it should close your dialog window.
function CloseButtonClick() {
var dw = window.parent.$find("WebDialogWindow1");
dw.hide();
}
-Taz.
Thanks for your reply. It's working. I have two more concern regarding this.
Thanks,