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

Dynamicaly adding "Asp:Checkboxlist" as RadTree inner node

3 Answers 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
FISCAL
Top achievements
Rank 1
FISCAL asked on 14 Jul 2010, 12:04 PM
Hi,

Apologises for my previous post - codesnippet formatting didn't work.

Well, I am looking for a solution where by I can have a Radtree with nodes. Each node will have inner node containing checkboxlist. All nodes and checkboxlist get populated from database. It can be done in designtime with NodeTemplate. I am sure it is possible in runtime as well but I am not sure how can I add NodeTemplate in runtime to the inner nodes only. I looked into documentation  NodeTemplate in Runtime but doesn't help a lot.


Could you please kindly hint me how it can be achieved.

Thanks in advance.

Cheers,
M G

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 15 Jul 2010, 04:12 PM
Hi M G,

You can find the answer in this forum post.

Regards,
Veronica Milcheva
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
FISCAL
Top achievements
Rank 1
answered on 15 Jul 2010, 04:25 PM
Hi Veronica,

Thanks  a lot for the sample project.  Another question,

Is it possible to trap the check/uncheck event of the checkboxes that have been populated. Ideally, by ticking root node checkbox should check/uncheck all the child-node checkboxes and should update the database subsequently.

Please see the attachment for the kind of UI I am trying to create based on TreeView.

Many thanks.

M G
0
Veronica
Telerik team
answered on 21 Jul 2010, 10:25 AM
Hello M G,

Please take a look at this help topic for a solution.

If you have more questions feel free to ask me.

Regards,
Veronica Milcheva
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
FISCAL
Top achievements
Rank 1
Answers by
Veronica
Telerik team
FISCAL
Top achievements
Rank 1
Share this question
or