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

Custom control inside the GridViewTemplate

3 Answers 24 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 12 Mar 2014, 11:24 PM
Can I put the custom control (treeview with checkbox) inside the GridViewTemplate. I have the .Net winform, which is using the Rad GridView, display the customer information, when user click on that customer, the sub templates will open (3 tabs), I coded for 2 tabs which display detail information. I want to code the last tab display the treeview with checkbox in it and user can select checkbox to turn on or off the options they want to use.
Thanks.

3 Answers, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 17 Mar 2014, 01:29 PM
Hello Tom,

Thank you for writing.

We have an example in our Demo application which very closely resembles your scenario. In the example we have added a RadChart inside one of the child template's tabs. Adding a RadTreeView could be achieved in the same manner. The example I am referring to is Demo application -> RadGridView -> Tabbed Views (Hierarchy group).

I hope this will be useful. Should you need further help, I would be glad to provide it.

Regards,
Ivan Petrov
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Tom
Top achievements
Rank 1
answered on 18 Mar 2014, 08:44 PM
I looked into that example.
My question is that: in the example, the added control is chart so it is same like the image. I want to add the RadTreeViewwith node is checkbox and user can check the checkbox. I don't know the child template's tab can do that or not?
Thanks.
0
Ivan Petrov
Telerik team
answered on 21 Mar 2014, 04:46 PM
Hello Tom,

Thank you for your reply.

Indeed the example in our demo application is more suitable for read only scenarios where the re is no user interaction . Therefore I have prepared an example project where I have implemented the scenario with a RadTreeViewElement

If you need any help getting to grips with the code or have some feedback, feel free to write back.

Regards,
Ivan Petrov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
GridView
Asked by
Tom
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Tom
Top achievements
Rank 1
Share this question
or