"Highlight rad tree node on node click"

4 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 11 May 2009 Link to this post


    I am using Rad Tree view where i want to highlight the selected node.
    Here is my code.On each rad tree node i have a navigation URL.

     <telerik:RadTreeView ID="TreeMail" runat="server" Skin="Vista" OnNodeClick="TreeMail_NodeClick"  CausesValidation="false" >
                                                        <telerik:RadTreeNode  Value="_New" AllowEdit="false"  NavigateUrl="../WebsiteManagement/AddRegistration.aspx" ImageUrl="../Images/new.gif"
                                                            Text="New Mail" Font-Bold="true">
                                                        <telerik:RadTreeNode  Value="_Private_Drafts" AllowEdit="false"  NavigateUrl="../MailFolders/Drafts.aspx" ImageUrl="../Images/Drafts.gif"
                                                            Text="Drafts" Font-Bold="true">
                                                        <telerik:RadTreeNode Value="_Private_DeletedItems"  NavigateUrl="../MailFolders/DeletedItems.aspx" ImageUrl="../Images/Deleted Items.gif"
                                                            AllowEdit="false" Text="Deleted Items" Font-Bold="true">
                                                        <telerik:RadTreeNode Value="_Private_Inbox" AllowEdit="false" Text="Inbox"  NavigateUrl="../MailFolders/Inbox.aspx" ImageUrl="../Images/Inbox.gif"
                                                        <telerik:RadTreeNode Value="_Private_SentItems" AllowEdit="false" Text="Sent Items" NavigateUrl="../MailFolders/SentItems.aspx"
                                                            ImageUrl="../Images/Sent Items.gif" Font-Bold="true">
    How can i do this? Plz help as early as possible.
  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 12 May 2009 Link to this post

    Hello Rahul Khinvasara,

    Please check this help topic:

    How To > General > Site Navigation

    Kind regards,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 12 May 2009 Link to this post


    Thanks a lot.It helped me a lot.
  4. Aarsh
    Aarsh avatar
    192 posts
    Member since:
    Jun 2012

    Posted 19 Sep 2012 Link to this post

    Hi Veselin, it does work as expected, But I would like to request a couple more things to make it perfect.

    I am using rad tabs to navigate back on forth

    ( Mine is more like a customer management portal where the user can log-in and can see her transcriptions, deliveries , search items, her product history. And I have a rad tree on right hand side for Transaction, Account Holders etc.
    In plain English,
    simply assume that under Transaction's radNode I am displaying last 5 invoices, customer details underneath Account Holders I am displaying users' details - this is for a community store where only members are allowed and one account may be shared by > 1 members )

    Now, if I click on some invoice I the the invoice will open in a new radTab and I want to highlight the invoice the user has opened in a new tab to let her know which of those invoices she is on. I tried your solution and did the same on the parent page, I want to do it on the newly opened tab.

    PS: I am using nested master pages.

    My version : 2012.1.411.40

Back to Top