This is a migrated thread and some comments may be shown as answers.

TreeList in Radgrid DetailTables

3 Answers 75 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Jianjun
Top achievements
Rank 1
Jianjun asked on 13 May 2014, 03:11 PM
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.

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 16 May 2014, 06:06 AM
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.

 
0
Jianjun
Top achievements
Rank 1
answered on 16 May 2014, 06:49 AM
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.
0
Accepted
Eyup
Telerik team
answered on 19 May 2014, 07:20 AM
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.

 
Tags
TreeList
Asked by
Jianjun
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Jianjun
Top achievements
Rank 1
Share this question
or