Hi telerik team,
I am using telerik
and got the error in IE9 or 10 can you provide any fix for this ASAP
The code which i am using is--
</a><span><a href="javascript:;" onclick="return OpenWindow(0);">Request Demo</a>
</a><span><a href="javascript:;" onclick="return OpenWindow(1);">Watch vedio</a>
<telerik:RadWindowManager Behaviors="Close" ID="RadWindowManager" runat="server"
VisibleStatusbar="false" VisibleOnPageLoad="false">
<Windows>
<telerik:RadWindow ID="winRequestDemo" VisibleOnPageLoad="false" Title="Request a Demo or more Information"
NavigateUrl="~/PopupRequestDemo.aspx" runat="server" Width="850px" Height="640px"
Modal="true" ReloadOnShow="true">
</telerik:RadWindow>
<telerik:RadWindow ID="winPopupVideoPlayer" VisibleOnPageLoad="false" Title="Product Video"
NavigateUrl="~/PopupVideoPlayer.aspx" runat="server" Width="600px" Height="575px"
Modal="true" ReloadOnShow="true">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script language="javascript" type="text/javascript">
function OpenWindow(windowIndex) {
//get the current windows collection
var manager = $find("<%=RadWindowManager.ClientID %>");
var windows = manager.get_windows();
var win = windows[windowIndex];
if (!win.isVisible()) {
win.show();
win.center();
}
return false;
}
</script>
</telerik:RadCodeBlock>
Thanks
Pankaj
I am using telerik
Version=2011.1.426.35
and got the error in IE9 or 10 can you provide any fix for this ASAP
The code which i am using is--
</a><span><a href="javascript:;" onclick="return OpenWindow(0);">Request Demo</a>
</a><span><a href="javascript:;" onclick="return OpenWindow(1);">Watch vedio</a>
<telerik:RadWindowManager Behaviors="Close" ID="RadWindowManager" runat="server"
VisibleStatusbar="false" VisibleOnPageLoad="false">
<Windows>
<telerik:RadWindow ID="winRequestDemo" VisibleOnPageLoad="false" Title="Request a Demo or more Information"
NavigateUrl="~/PopupRequestDemo.aspx" runat="server" Width="850px" Height="640px"
Modal="true" ReloadOnShow="true">
</telerik:RadWindow>
<telerik:RadWindow ID="winPopupVideoPlayer" VisibleOnPageLoad="false" Title="Product Video"
NavigateUrl="~/PopupVideoPlayer.aspx" runat="server" Width="600px" Height="575px"
Modal="true" ReloadOnShow="true">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script language="javascript" type="text/javascript">
function OpenWindow(windowIndex) {
//get the current windows collection
var manager = $find("<%=RadWindowManager.ClientID %>");
var windows = manager.get_windows();
var win = windows[windowIndex];
if (!win.isVisible()) {
win.show();
win.center();
}
return false;
}
</script>
</telerik:RadCodeBlock>
Thanks
Pankaj