I have this function on my aspx page.
function openWindow() {
//get a reference to the window
var oWnd = $find("<%= RadWindow2.ClientID %>");
//set its NavigateUrl
oWnd.setUrl("http://xyz.com/abc.zip");
//add the name of the function to be executed when RadWindow is closed
//show the window
oWnd.show();
}
I want to call this function in Button click event through RegisterStartupScript. It gets called but window doesn't open. Also I want to open a url which has a zip file for download. So as soon as user is prompted about Save dialog box, I want to close radwindow.
HELP!!!!!
function openWindow() {
//get a reference to the window
var oWnd = $find("<%= RadWindow2.ClientID %>");
//set its NavigateUrl
oWnd.setUrl("http://xyz.com/abc.zip");
//add the name of the function to be executed when RadWindow is closed
//show the window
oWnd.show();
}
I want to call this function in Button click event through RegisterStartupScript. It gets called but window doesn't open. Also I want to open a url which has a zip file for download. So as soon as user is prompted about Save dialog box, I want to close radwindow.
HELP!!!!!