Hello sir
I have this section in my aspx page:
<telerik:RadWindowManager ID="RadWindowManager3" runat="server" DestroyOnClose="true">
<Windows>
<telerik:RadWindow ID="wndStatus" runat="server" Width="750px" Height="550" Skin="Vista"
Behavior="Move,Close,Resize" Title="הודעת מערכת" Modal="true" DestroyOnClose="true"
KeepInScreenBounds="true" ReloadOnShow="true" VisibleStatusBar="false">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
When the window opens, it has a click event which does the following:
<script type="text/javascript">
function CloseAndRebind(rebind)
{
GetRadWindow().Close();
}
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;//IE (and Moz az well)
return oWindow;
}
</script>
The problem:
When I click the button, the command GetRadWindow().Close(); bring this message:
A Runtime Error has occurred.
Line 5959 Error: Unspecified error.
In development mode, the debugger goes to ScriptResource.axd and stop at the following line:
Can you help me?
Hanoch
I have this section in my aspx page:
<telerik:RadWindowManager ID="RadWindowManager3" runat="server" DestroyOnClose="true">
<Windows>
<telerik:RadWindow ID="wndStatus" runat="server" Width="750px" Height="550" Skin="Vista"
Behavior="Move,Close,Resize" Title="הודעת מערכת" Modal="true" DestroyOnClose="true"
KeepInScreenBounds="true" ReloadOnShow="true" VisibleStatusBar="false">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
When the window opens, it has a click event which does the following:
<script type="text/javascript">
function CloseAndRebind(rebind)
{
GetRadWindow().Close();
}
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;//IE (and Moz az well)
return oWindow;
}
</script>
The problem:
When I click the button, the command GetRadWindow().Close(); bring this message:
A Runtime Error has occurred.
Line 5959 Error: Unspecified error.
In development mode, the debugger goes to ScriptResource.axd and stop at the following line:
Var offsetl = w.screenleft – top.screenleft – top.document.documentElement.scrollleft + 2;
Can you help me?
Hanoch