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

Creating a New Node While Clicking the Node

3 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Suriya
Top achievements
Rank 1
Suriya asked on 25 Mar 2009, 07:43 AM
Hi..
          Sir I have created a hirarical tre view using a sqldatasource., like the following one...

Main
--> Group1
------>Child 1 g1
------>Child 2 g1
-->Group2
------>Child 1 g2
------>Child 2 g2

Now doubt is... i need to add a new node for Child 1 g2 by entering the text by clicking the node., then i expect the
following treeview..

Main
--> Group1
------>Child 1 g1
------>Child 2 g1
-->Group2
------>Child 1 g2
----------> Child 1 g2 1
------>Child 2 g2
.. i am waiting for ur reply...
By
Suriya

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 25 Mar 2009, 08:19 AM
Hi Suriya,

We are somewhat confused. Since Telerik Reporting does not offer a TreeView report item we are not exactly sure of what you are trying to achieve and whether you are using Telerik Reporting or another Telerik control. Can you please elaborate in great detail on the goal you are trying to achieve and the product you are trying to achieve it with. We would really like to help you but we will need more detailed information about your task.

All the best,
Ross
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Suriya
Top achievements
Rank 1
answered on 26 Mar 2009, 10:54 AM
Hi..

      Sir  i am asking the tree view in the web application not in the report.,.,.,
i need to add a new node in the run time......
i have load the node in the tree view using sqldatasource.,(as i am mentioned in the query) and in the run time using contextmenu i have to add a new child node... i need a breif explanation about that......

by
suriya


0
Peter
Telerik team
answered on 26 Mar 2009, 12:18 PM
Hello Suriya,

Please, see this example:
http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/addremovedisable/defaultcs.aspx

Also, for databound RadTreeview set AppendDataBoundItems="true"

Greetings,
Peter
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Suriya
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Suriya
Top achievements
Rank 1
Peter
Telerik team
Share this question
or