Can't find OrgChart after a postback

4 posts, 0 answers
  1. Jens
    Jens avatar
    1 posts
    Member since:
    Sep 2016

    Posted 12 Sep Link to this post

    Hi

    I'm having some issues with a very big organisation chart (it contains about 3500 items in 1700 groups).

    1. The first issue is that it takes a long time to load (about 20 seconds untill the control displays on the page). Is this normal for charts this size or should this be faster?

    2. When I drill down and go back to the parent level, some errors occur. I noticed while debugging that the following line returns null, which then makes the rest of the javascript fail. This line is located in the pageLoad() method, so as I understand all controls should be initialized at the moment the line below is executed. I checked using the developer tools in IE and the control is still visible in the markup.

    var orgChart = $find("<%=MyOrgChartControl.ClientID%>");

    This only happens after a postback. So the initial request never returns an error. The weird thing is that it does not happen all the time, I can for example do 1 postback (drill down) without it failing, but during the next postback (go to parent level) the error occurs...

    Do you guys have any idea on what might be causing this issue? Any help would be much appreciated!

    Kind regards

    Jens

  2. Peter Milchev
    Admin
    Peter Milchev avatar
    135 posts

    Posted 15 Sep Link to this post

    Hello Jens,

    I am afraid that I am unable to provide certain answers regarding the OrgChart issues you are experiencing as the provided information is insufficient. Would you please isolate the issue in a simplified sample runnable project as described in the Isolating a problem in a sample project blog post and send it to us in an official support ticket? Thus, we would be able to  investigate your exact scenario locally and help you in the most efficient way.

    As for performance optimization tips I would recommend the Load on Demand functionality:
    Regards,
    Peter Milchev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    1 posts
    Member since:
    Sep 2016

    Posted 27 Sep in reply to Peter Milchev Link to this post

    Hello Peter,

    I'm a colleague of Jens, functional analist of the implementation of the organisation chart into our payroll/HR application. First of all: thank you for your response to Jens' questions & my additional questions below.

    We performed some additional tests to see how the issue reacts to bigger/smaller amounts of data. As Jens mentioned above, we typically have +3000 items in +1000 groups (nodes). But when we limit the number of items & groups, we can no longer reproduce the issue.

    It seems obvious that the issue is caused by the big amount of data.Do you have experience with organisation charts of this size? Are there known issues when applying the dll on larger amounts of data?

    I understand your proposal to deliver you a sample project. But building a sample project means a seriously large effort to us, since the OrgChart dll is integrated into our Microsoft Dynamics AX add-on. So before we start building such a project, I would like to know what we can expect from Telerik. What is your commitment to deliver a solution? And does your support imply some kind of cost?

    Regards,

    Erik

  5. Peter Milchev
    Admin
    Peter Milchev avatar
    135 posts

    Posted 30 Sep Link to this post

    Hello Erik,

    Please find attached a sample project implementing an OrgChart with 3500 items and 1700 groups that works well on our side. It is expected the rendering to delay, because the nodes are deeply nested. Would you please modify the solution so that the error occurs and send it to us in an official support ticket?

    Regards,
    Peter Milchev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top