TreeList in Radgrid DetailTables

4 posts, 1 answers
  1. Jianjun
    Jianjun avatar
    11 posts
    Member since:
    Sep 2013

    Posted 13 May 2014 Link to this post

    Hi All,

    I'm using telerik 2013 Q3 for development. Now I want to implement a page that contains a radgrid, and the radgrid can expand to expand a DetailTables. The DetailTables has just one column GridTemplateColumn and in its ItemTemplate contains a RadTreeList.
    My question is after click expand button, I cannot get RadTreeList instance whatever from dataBound, ItemCreated or anyother events. So how can I set datasource to the RadTreeList in DetailTables ItemTemplate.

    Can anyone help on this, please? Thanks.
  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 16 May 2014 Link to this post

    Hello Jianjun,

    You can either achieve this functionality by using DetailTables with GridTemplateColumns as mentioned:
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx

    Or using NestedViewTemplates:
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/hierarchy-with-templates/defaultcs.aspx

    The first option will generate an inner table and you will have as many tree lists as the inner table item count.
    Therefore, please choose one of the listed approaches to continue with and let us know about your decision. Then, we will prepare a sample web site to demonstrate how you can achieve the requested functionality.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jianjun
    Jianjun avatar
    11 posts
    Member since:
    Sep 2013

    Posted 16 May 2014 in reply to Eyup Link to this post

    Thanks Eyup. I'm using NestedViewTemplate to implement it but met another issue in IE7, the thread was:
    http://www.telerik.com/forums/treelist-content-not-show-in-ie7

    Can you help to take a look at on this, please? Thanks.
  5. Answer
    Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 19 May 2014 Link to this post

    Hello Jianjun,

    I've replied to your query in the mentioned thread. I suggest that we continue our conversation there.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top