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

add text box dynamically on node check.

2 Answers 47 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
dotnetshar net
Top achievements
Rank 1
dotnetshar net asked on 20 Jan 2011, 10:19 PM
Hello,

I have a master page in which I have rad tree view with check boxes (this forms the left menu of the page).
I created another page which refers to above master file.
In the content tab , I have created RadTabs (this has panel in it).

My requirement is that , when the user checks a checkbox node,  a text box should get dynamically added to the rad tab's panel.

How can I do this ( sample will help. )

Should I ajaxify and write server side code - how ( becuase rad controls are already ajaxified.) . I think this should be done client side , so should i use javascript (but this will be complicated I think). Any other approach

Help appreciated.

2 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 25 Jan 2011, 02:16 PM
Hello,

I've prepared a small example page demonstrating how to implement the scenario you've explained below.
Textbox is added in code-behind when OnNodeCheck event is fired.
I hope this would help.

Greetings,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Naveed
Top achievements
Rank 1
answered on 08 Dec 2018, 11:43 AM
@Dirmitar Terziev how can we add Textboxes ,Dropdonwlist, Treeview header to kendo TreeView? please see the attachement
Tags
TreeView
Asked by
dotnetshar net
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Naveed
Top achievements
Rank 1
Share this question
or