Not getting SelfHierarchy to work properly

5 posts, 1 answers
  1. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 30 May 2009 Link to this post

    Hi guys,

    I've been trying to implement self-referencing hierarchy in a grid, but not getting it to work.

    Documentation:
    http://www.telerik.com/help/aspnet-ajax/grdselfreferencinghierarchy.html

    Demo:
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx

    The problem is that when I click the expand button nothing happens. In Firebug I get the following description:

    _353.parentNode is undefined 
    _toggleExpand()(click clientX=28, clientY=194, undefined)ScriptRe...=318ed896 (line 4864) 
    onclick(click clientX=28, clientY=194)zZ2%2F3o...vQw%3D%3D (line 2) 
    [Break on this error] var _355=_353.parentNode.parentNode; 

    It points to:
    ScriptResource.axd?d=f5247yF8mFQSNUezaysMu7egrLBLdhSVt05lttKDr_VMDoiX_VRdIH7dxSOgEVvXEncLy5lBAmaFxHk85Zb9Tw2&t=318ed896

    Does anyone have a clue what might be going on here?

    Regards,
    -DJ-
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 01 Jun 2009 Link to this post

    Hi -DJ-,

    Please find attached a simple runnable application that demonstrates the desired approach.
    Give it a try and let me know if it works for you or if I am leaving something out.

    Greetings,
    Pavlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 02 Jun 2009 Link to this post

    Thank you Pavlina,

    I'll check the demo asap.

    Regards,
    -DJ-
  5. Answer
    Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 03 Jun 2009 Link to this post

    Hi -DJ-,

    I am sending you another application with the implementation request by you.To prepare the project I followed our help topic for Self-referencing hierarchy. Please give it a try and let me know if you have other questions or problems.

    Greetings,
    Pavlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 03 Jun 2009 Link to this post

    Hi Pavlina,

    As soon as I took a look at the Nwind database in the solution you sent me I realized I was complicating things.
    I could and did easily achieve my goal by using a regular hierarchy.

    Thanks for your help.

    Regards,
    -DJ-
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017