DrillDown don't work when binding WCF Service

3 posts, 0 answers
  1. Shaojian
    Shaojian avatar
    1 posts
    Member since:
    Nov 2013

    Posted 08 Nov 2013 Link to this post

    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. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 13 Nov 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 14 Jan 2014 Link to this post

    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.
Back to Top