Hai,
I have a Radwindow like this :
<telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false"
ReloadOnShow="true" runat="server" Skin="Web20" Style="z-index: 20002" >
<Windows >
<telerik:RadWindow ID="RadWindowPopup"
EnableShadow="true" DestroyOnClose="true" Visible="true"
Behaviors="Resize, Close, Maximize"
VisibleOnPageLoad="false" runat="server" Title="Local Item Request" Skin="Web20">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
In Code behind, I have called this radwindow like this :
if (!ClientScript.IsStartupScriptRegistered("popupWindow"))
System.Web.UI.ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "popupWindow", "showWindow();", true);
showWindow() javascript is
This code works fine in my local development computer. But When I hosted in a server, it is showing the following javascript error in the radopen portion of showWindow() method.
Microsoft JScript runtime error: Object doesn't support this property or method
Please help me.
I have a Radwindow like this :
<telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false"
ReloadOnShow="true" runat="server" Skin="Web20" Style="z-index: 20002" >
<Windows >
<telerik:RadWindow ID="RadWindowPopup"
EnableShadow="true" DestroyOnClose="true" Visible="true"
Behaviors="Resize, Close, Maximize"
VisibleOnPageLoad="false" runat="server" Title="Local Item Request" Skin="Web20">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
In Code behind, I have called this radwindow like this :
if (!ClientScript.IsStartupScriptRegistered("popupWindow"))
System.Web.UI.ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "popupWindow", "showWindow();", true);
showWindow() javascript is
function showWindow() {
var varMealOrderID = document.getElementById('ctl00_CphMaster_hidMealOrderId').value;
var oWnd = radopen('FKMS_CTRL_Local_Item_Request.aspx?MealOrderId=' + varMealOrderID + '&popup=true' + '&Mode=NEW', 'RadWindowPopup');
oWnd.setSize(1100, 750);
oWnd.moveTo(75, 50);
}
This code works fine in my local development computer. But When I hosted in a server, it is showing the following javascript error in the radopen portion of showWindow() method.
Microsoft JScript runtime error: Object doesn't support this property or method
Please help me.