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

Button inside treeview

2 Answers 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
max
Top achievements
Rank 1
max asked on 21 Oct 2010, 05:43 PM
Is it possible to create a button inside a mvc treeview?  The same or similar way its done in grid?

2 Answers, 1 is accepted

Sort by
0
Tx3
Top achievements
Rank 1
answered on 03 Nov 2010, 10:42 AM

You can add your own content to the treeview. Just add Encoded = false and put to the Content = "<input type='button' name='button' id='your_id' />

Encoded false means in that case that Content will have button instead of text <input type etc.

Check: example and under 'subItem.Add()' put previously mentioned settings and that should do it.

-Tatu

0
veera
Top achievements
Rank 1
answered on 20 Mar 2011, 11:00 PM
Is it possible to bind a treeview inside a grid in mvc 2 telerick grid heler?
Tags
TreeView
Asked by
max
Top achievements
Rank 1
Answers by
Tx3
Top achievements
Rank 1
veera
Top achievements
Rank 1
Share this question
or