Script Access Denied "Telerik.Web.UI.WebResource.axd"
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
I have a link on my Main Page that opens a modal window (dialog 1) providing search ability to look up customer information and select them to use on the main page or create a new customer by clicking on a link with in (dialog 1) to popup another modal window (dialog 2) to create new customer. (Dialog 2) goes to another domain website within our corporate network to setup that customer, when (dialog 2) comes up i get script errors listed above. I believe this is due to a security browser limitation for iframe cross domain access.
On (dialog 2) all I want is to create a new customer, close (dialog 2) and refresh (dialog 1). Does anybody have any suggestions?
Thanks, Bill
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
I have a link on my Main Page that opens a modal window (dialog 1) providing search ability to look up customer information and select them to use on the main page or create a new customer by clicking on a link with in (dialog 1) to popup another modal window (dialog 2) to create new customer. (Dialog 2) goes to another domain website within our corporate network to setup that customer, when (dialog 2) comes up i get script errors listed above. I believe this is due to a security browser limitation for iframe cross domain access.
On (dialog 2) all I want is to create a new customer, close (dialog 2) and refresh (dialog 1). Does anybody have any suggestions?
function GetRadWindow() { |
var oWindow = null; |
if (window.radWindow) oWindow = window.radWindow; |
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; |
return oWindow; |
} |
function CloseRW() { |
//get a reference to the current RadWindow |
var oWnd = GetRadWindow(); |
oWnd.close(); |
} |
function openWin2() { |
var parentPage = GetRadWindow().BrowserWindow; |
var parentRadWindowManager = parentPage.GetRadWindowManager(); |
var oWnd2 = parentRadWindowManager.open("http://new domain server/appname/modal/Customer.aspx", "r2"); |
oWnd2.setSize(760, 550); |
oWnd2.center(); |
window.setTimeout(function() { |
oWnd2.setActive(true); |
}, 0); |
} |