I am having trouble with rad org chart, when scrolling on the Ipad the tree crashes
The tree has 4 levels and about 120 nodes so the width is more than height.
All the nodes are expanded by default.
When the user scrolls the tree on the Ipad the website crashes.
Please help me to find a solution for this problem
The tree has 4 levels and about 120 nodes so the width is more than height.
All the nodes are expanded by default.
When the user scrolls the tree on the Ipad the website crashes.
Code For the tree
<
telerik:RadOrgChart
ID
=
"orgchrtTree"
runat
=
"server"
LoadOnDemand
=
"Nodes"
PersistExpandCollapseState
=
"true"
OnClientNodePopulated
=
"OnClientNodePopulated"
>
<
RenderedFields
>
<
NodeFields
>
<
telerik:OrgChartRenderedField
DataField
=
"Value"
/>
</
NodeFields
>
<
ItemFields
>
<
telerik:OrgChartRenderedField
DataField
=
"NodeGroupID"
/>
</
ItemFields
>
<
ItemFields
>
<
telerik:OrgChartRenderedField
DataField
=
"NodeID"
/>
</
ItemFields
>
</
RenderedFields
>
<
GroupEnabledBinding
>
<
NodeBindingSettings
DataFieldID
=
"GroupID"
DataFieldParentID
=
"ParentGroupID"
/>
<
GroupItemBindingSettings
DataFieldID
=
"NodeID"
DataFieldNodeID
=
"GroupID"
DataTextField
=
"Value"
/>
</
GroupEnabledBinding
>
</
telerik:RadOrgChart
>
Code behind
protected void Page_Load(object sender, EventArgs e)
{
try
{
if (!this.IsPostBack)
{
}
Presenter.OnViewLoaded();
orgchrtTree.GroupEnabledBinding.NodeBindingSettings.DataSource = GetTreeGroupData();
orgchrtTree.GroupEnabledBinding.GroupItemBindingSettings.DataSource = GetFollettFamilyTreeData();;
orgchrtTree.DataBind();
orgchrtTree.EnableDrillDown = true;
orgchrtTree.EnableCollapsing = true;
orgchrtTree.EnableGroupCollapsing = true;
}
catch (Exception ex)
{
base.LogError(ex);
base.ShowErrorMessage(ex.Message);
}
}
Please help me to find a solution for this problem