Rad OrgChart Scrolling Issue in Ipad(Website Crashes)

2 posts, 0 answers
  1. Vinay
    Vinay avatar
    1 posts
    Member since:
    Jun 2014

    Posted 23 Jun 2014 Link to this post

    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
  2. Dimitar
    Admin
    Dimitar avatar
    281 posts

    Posted 23 Jun 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top