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

DrillDown don't work when binding WCF Service

2 Answers 53 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Shaojian
Top achievements
Rank 1
Shaojian asked on 08 Nov 2013, 07:17 PM

Since I have a huge org chart and I have to use the WCF service for on-demand loading, but I see the drilldown don't work since it cannot get the NodeID.


The error as follow: Object reference not set to an instance of an object.



[NullReferenceException: Object reference not set to an instance of an object.]

   Telerik.Web.UI.OrgChartNodeCollection.AssignReferencesToInnerTree(OrgChartNodeCollection nodes, RadOrgChart orgChart) +137

   Telerik.Web.UI.OrgChartNodeCollection.OnNodeAdded(OrgChartNode node) +95

   Telerik.Web.UI.OrgChartNodeCollection.Add(OrgChartNode node) +80

   Telerik.Web.UI.RadOrgChart.SetupDrillDown(Int32[] drilledNodeIndexes) +190

   Telerik.Web.UI.RadOrgChart.ExecuteDrillDown() +101

   Telerik.Web.UI.RadOrgChart.OnPreRender(EventArgs e) +246

   System.Web.UI.Control.PreRenderRecursiveInternal() +83

   System.Web.UI.Control.PreRenderRecursiveInternal() +155

   System.Web.UI.Control.PreRenderRecursiveInternal() +155

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974


2 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 13 Nov 2013, 11:53 AM
Hi Shaojian,

How is your WCF service configured? Does it return the correct data? Please paste the markup of the OrgChart and code of the service.

Thanks.

Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Boyan Dimitrov
Telerik team
answered on 14 Jan 2014, 09:46 AM
Hello,

I would like to clarify that this a known RadOrgChart limitation. We are aware of this problem and we are working on improving the RadOrgChart capabilities. I would like to assure you that we will announce as soon as we make some improvements to the RadOrgChart functionality.

Thank you for understanding.

Regards,
Boyan Dimitrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
OrgChart
Asked by
Shaojian
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Boyan Dimitrov
Telerik team
Share this question
or