This is a migrated thread and some comments may be shown as answers.

Rad OrgChart Scrolling Issue in Ipad(Website Crashes)

1 Answer 40 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 23 Jun 2014, 05:54 AM
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.


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

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Jun 2014, 03:36 PM
Hi,

I have tested a similar RadOrgChart scenario with 300 nodes placed on 5 levels and I was not able to reproduce the issue faced by neither scrolling the tree, nor manipulating the chart in any other way. I have tested it on an iPad with iOS 7.1.1 Safari  You can find the sample project attached and test it on your side.

In order to assist you in the most efficient way I would suggest that you provide us with a very simplified runnable project that demonstrates the behavior that you describe. It may include .aspx, code behind, web.config, data source as well as any other files you find necessary. Thus, we could test it locally and determine what might be causing the issue that you are experiencing.

It would be really helpful if you specify iOS version and browser used. If you would like, you may record a short video that shows the RadOrgChart behavior on your side.

Regards,
Dimitar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
OrgChart
Asked by
Vinay
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or