In main page which contains the radwindowmanager, I added an radwindow "G" under the radwindowmanager. After I opened the radwindow "G", I tried to open another radwindow "C" from radwindow "G" by using the code below.
function openWindow(Url, Id) {
var oMan = GetWindowManager();
var oWnd = oMan.open(Url, Id);
oWnd.set_visibleStatusbar(false);
oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Resize);
//something wrong here
oWnd.setActive();
return oWnd;
}
however I got the error message below
'telerik.web.ui.windowBehahaviors.close' is null or not an object.
in web.config, I added
<location path="Telerik.Web.UI.WebResource.axd">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
please advise what cause this issue? Thanks.