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

Can't find OrgChart after a postback

3 Answers 61 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Jens
Top achievements
Rank 1
Jens asked on 12 Sep 2016, 03:26 PM

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

3 Answers, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 15 Sep 2016, 11:58 AM
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.
0
Erik
Top achievements
Rank 1
answered on 27 Sep 2016, 10:55 AM

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

0
Peter Milchev
Telerik team
answered on 30 Sep 2016, 12:12 PM
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.
Tags
OrgChart
Asked by
Jens
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Erik
Top achievements
Rank 1
Share this question
or