I am getting a very strange error when i try to run the below code on IPAD.
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<script type="text/javascript">
window.onerror = WindowError;
//error handler for showing error on the main page in the bottom of the page
function WindowError(errorMsg, url, linenumber) {
alert(errorMsg);
$("#errorDiv").show("Slow");
$("#errorMsgDiv").html(errorMsg);
}
</script>
</head>
<body>
<form id="frmSrchClient" runat="server" enableviewstate="false">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true">
</telerik:RadScriptManager>
<telerik:RadSplitter ID="RadSplitter1" Runat="server" SplitBarsSize="">
<telerik:RadPane Scrolling="None" ID="treeViewPane" runat="server">
<telerik:RadSplitter SplitBarsSize="3" ID="ContentSplitter"
BorderSize="0" PanesBorderSize="0" runat="server" Height="100%" Width="100%">
<telerik:RadPane Scrolling="Both" ID="NavigationPane" runat="server" Width="200"
MinWidth="90" Height="100%">
<telerik:RadPanelBar ID="NavigationPanelBar" Width="100%" Height="100%"
Style="overflow: hidden" EnableEmbeddedSkins="false" Skin="Metro" runat="server"
AccessKey="A" ExpandMode="MultipleExpandedItems">
<ExpandAnimation Duration="0" />
<CollapseAnimation Duration="0" />
<Items>
<telerik:RadPanelItem Text="First" Height="21" TabIndex="1" Expanded="true">
<Items>
<telerik:RadPanelItem>
<ItemTemplate>
Text
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
<telerik:RadPanelItem Text="Second" Height="21" TabIndex="2" Expanded="true">
<Items>
<telerik:RadPanelItem>
<ItemTemplate>
Text1
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadPane>
</telerik:RadSplitter>
</form>
</body>
</html>
In the above code if you click on "Text1" you will see that error. This error comes only when i try to run this on IPAD for all other OS's it is working fine. Can you please let me know where I am going wrong. The error only comes when i include the RadPanelBar within the RadSplitter. If if run it alone this error does not come. Can you please let me know the reason behind this I am unable to debug this issue.
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<script type="text/javascript">
window.onerror = WindowError;
//error handler for showing error on the main page in the bottom of the page
function WindowError(errorMsg, url, linenumber) {
alert(errorMsg);
$("#errorDiv").show("Slow");
$("#errorMsgDiv").html(errorMsg);
}
</script>
</head>
<body>
<form id="frmSrchClient" runat="server" enableviewstate="false">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true">
</telerik:RadScriptManager>
<telerik:RadSplitter ID="RadSplitter1" Runat="server" SplitBarsSize="">
<telerik:RadPane Scrolling="None" ID="treeViewPane" runat="server">
<telerik:RadSplitter SplitBarsSize="3" ID="ContentSplitter"
BorderSize="0" PanesBorderSize="0" runat="server" Height="100%" Width="100%">
<telerik:RadPane Scrolling="Both" ID="NavigationPane" runat="server" Width="200"
MinWidth="90" Height="100%">
<telerik:RadPanelBar ID="NavigationPanelBar" Width="100%" Height="100%"
Style="overflow: hidden" EnableEmbeddedSkins="false" Skin="Metro" runat="server"
AccessKey="A" ExpandMode="MultipleExpandedItems">
<ExpandAnimation Duration="0" />
<CollapseAnimation Duration="0" />
<Items>
<telerik:RadPanelItem Text="First" Height="21" TabIndex="1" Expanded="true">
<Items>
<telerik:RadPanelItem>
<ItemTemplate>
Text
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
<telerik:RadPanelItem Text="Second" Height="21" TabIndex="2" Expanded="true">
<Items>
<telerik:RadPanelItem>
<ItemTemplate>
Text1
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadPane>
</telerik:RadSplitter>
</form>
</body>
</html>
In the above code if you click on "Text1" you will see that error. This error comes only when i try to run this on IPAD for all other OS's it is working fine. Can you please let me know where I am going wrong. The error only comes when i include the RadPanelBar within the RadSplitter. If if run it alone this error does not come. Can you please let me know the reason behind this I am unable to debug this issue.