Add an item to a node but not within selection div

4 posts, 0 answers
  1. fino
    fino avatar
    2 posts
    Member since:
    Jan 2007

    Posted 31 Oct 2008 Link to this post

    Help, how do i add a control to a node but without it being within the selected hotspot i.e. when it is clicked it doesn't changed the selected node?

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 03 Nov 2008 Link to this post

    Hello fino,

    You can use templates. Please, see the following help topics:

    Templates Overview 

    Adding and Editing Templates at Runtime    


    Best wishes,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. fino
    fino avatar
    2 posts
    Member since:
    Jan 2007

    Posted 03 Nov 2008 Link to this post

    Thanks, but another question..

    In the example http://demos.telerik.com/aspnet/prometheus/TreeView/Examples/Functionality/Templates/DefaultCS.aspx

    The whole node appears to get highlighted as if the outer div has a mouseover/on-click event on it. In this example I would like the various tree node CSS properties to NOT apply to some items. Is this possible?
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 04 Nov 2008 Link to this post


    Hello fino,

    This is not supported out of the box. You could try using the SelectedCssClass property and a custom CSS class which removes the background and the other "selected" appearance attributes.

    Let us know if you need further assistance.


    Best wishes,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top