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

How to bring the controls embedded in TreeNode to the top

5 Answers 43 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Noel
Top achievements
Rank 1
Noel asked on 26 May 2011, 07:27 AM
I've a treeview with some controls in it. 
Following hierarchy is followed

TreeView=>
TreeNodes=>
FormView=>
asp:Table=>
Table Cell=>
Labels


Wot I want to do is make this labels come to the top of the controls. Something like layers. The label should be in the top layer.

This is because I want the content in the labels to be freely selected (for eg. double click on a word and it selects the word).

Right now, I'm a able to select things only if I drag it from outside the TreeNode area. 

Any help would be appreciated..

Thanks,
Noel

5 Answers, 1 is accepted

Sort by
0
Cat Cheshire
Top achievements
Rank 1
answered on 26 May 2011, 02:58 PM
You can try using the RadTreeView Templates as is shown on this example: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/templates/defaultcs.aspx
0
Noel
Top achievements
Rank 1
answered on 27 May 2011, 04:41 AM
Actually, my requirement is I want to copy the text inside the node. In the example, u sent, I cannot drag and select the text in the node, for example, the sticky fingers.
0
Nikolay Tsenkov
Telerik team
answered on 30 May 2011, 09:13 AM
Hello Noel,

Could you, please, post an easy to run sample with the current implementation of your TreeView?

Also, please, present the idea you try to implement in a graphical format so we can better understand it. You can host the image on a file-server and post a link to it in this thread.


Regards,
Nikolay Tsenkov
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
Noel
Top achievements
Rank 1
answered on 02 Jun 2011, 06:22 AM
http://www.4shared.com/photo/Uo_p9mwg/RadTreeNode-_select-copy.html

Please check this image.. For the RadTreeList, the contents can be selected.
I want a similar behaviour for the RadTreeNode contents..

Thanks in advance,
Noel
0
Nikolay Tsenkov
Telerik team
answered on 15 Jun 2011, 04:32 PM
Hi Noel,

The problem you specify happens in IE. In FF, Chrome and Safari you should be able to select text from the template.


Regards,
Nikolay Tsenkov
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.

Tags
TreeView
Asked by
Noel
Top achievements
Rank 1
Answers by
Cat Cheshire
Top achievements
Rank 1
Noel
Top achievements
Rank 1
Nikolay Tsenkov
Telerik team
Share this question
or