How to bring the controls embedded in TreeNode to the top

6 posts, 0 answers
  1. Noel
    Noel avatar
    10 posts
    Member since:
    Jan 2011

    Posted 26 May 2011 Link to this post

    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

  2. Cat Cheshire
    Cat Cheshire avatar
    128 posts
    Member since:
    Jun 2010

    Posted 26 May 2011 Link to this post

    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
  3. Noel
    Noel avatar
    10 posts
    Member since:
    Jan 2011

    Posted 26 May 2011 Link to this post

    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.
  4. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 30 May 2011 Link to this post

    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.

  5. Noel
    Noel avatar
    10 posts
    Member since:
    Jan 2011

    Posted 02 Jun 2011 Link to this post

    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
  6. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 15 Jun 2011 Link to this post

    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.

Back to Top