Telerik Master/detail grid with SelfHierarchySettings not showing hierachy child

6 posts, 0 answers
  1. sachin vaid
    sachin vaid avatar
    1 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    I am using SelfHierarchySettings of master/detail grid to show parent child relation of data. The issue that I am facing is that I am not able to get the child grid if there is no child under a parent node. It just shows expanded icon and nothing else.

    What I am looking for is that when I click on expand icon, it should show up a blank child grid.

    Can you please provide me some code for this to achieve the above said functionality.


    Thanks & Regards,
    Sachin Vaid



  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 23 Oct 2009 Link to this post

    Hello sachin,

    Have you considered removing the expand/collapse image for records that do not have child records in the self-referencing grid? If this is valid approach for your case I think that the information from this help topic can be useful to you.

    Alternatively, define no records template as illustrated in the example from the KB article below:
    http://www.telerik.com/support/kb/aspnet-ajax/grid/aligning-columns-in-each-level-of-self-referencing-grid.aspx

    Greetings,
    Sebastian
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 17 Oct 2013 Link to this post

    Hi Sebastian, All links in this post are dead.
  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 22 Oct 2013 Link to this post

    Hello Erik,

    Here is the correct link for the help article describing how to hide the expand/collapse image for records that do not have child records in the self-referencing grid:
    http://www.telerik.com/help/aspnet-ajax/grid-hide-expand-collapse-images-when-no-records-in-self-referencing-hierarchy.html

    Regarding the KB article it is no longer available as we already have RadTreeList control available in our suite and implementing Self-referencing grid is not recommended.
     
    Regards,
    Pavlina
    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.
  6. GTL Dev
    GTL Dev avatar
    12 posts
    Member since:
    May 2011

    Posted 04 Jan Link to this post

    The last provided link goes to 404 not found, not even the usual Telerik error page.
  7. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 06 Jan Link to this post

    Hello,

    The link is not found as self reference hierarchy is no longer supported. However, as suggested in the previous post you can use RadTreeList control instead.

    Regards,
    Pavlina
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017