WCF WebService GetData(RadTreeNodeData parentNode always NULL

4 posts, 0 answers
  1. Richard
    Richard avatar
    27 posts
    Member since:
    Sep 2008

    Posted 14 Sep 2009 Link to this post

    I'm using the load-on-demand WCF WebService according to the example for this in the documentation in



    It works fine, except for the fact that, no matter how many new levels I add to the tree, the RadTreeNodeData parentNode paramenter in the WCF Signature (again, just as it is in the example):
        public RadTreeNodeData[] GetData(RadTreeNodeData parentNode, IDictionary<string, object> context)

    is always NULL.

    What to I need to do to get this parameter set?

  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 15 Sep 2009 Link to this post

    Hello Richard,

    Please set the name of the first argument to be "node" instead of "parentNode". This is important as RadTreeView always sends "node" from the client-side when calling the WCF service. I have attached a working demo showing how to use the expanded node.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Joey
    Joey avatar
    32 posts
    Member since:
    Feb 2008

    Posted 01 Mar 2010 Link to this post

    I just ran into this same issue. Your suggestion worked, however the documentation on your website and in the compiled help is still incorrect. It is defined as:

    public RadTreeNodeData[] GetData(RadTreeNodeData parentNode, IDictionary<string, object> context)
  4. Dimitar Milushev
    Dimitar Milushev avatar
    555 posts

    Posted 04 Mar 2010 Link to this post

    Hi Joey,

    Thank you, we will make sure to update our documentation to reflect this.

    All the best,
    Dimitar Milushev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top