SelectedImageURL issue on Tree node

3 posts, 1 answers
  1. vijayashankar palanichamy
    vijayashankar palanichamy avatar
    3 posts
    Member since:
    Dec 2009

    Posted 06 Jul 2011 Link to this post

    <radTree:RadTreeView ID="treeAddSection" CheckBoxes="true" runat="server" Width="700px"   Skin="HSTM" MultipleSelect="false" EnableEmbeddedSkins="false" RetainScrollPosition="true"   AutoPostBack="true">
    <Nodes>
                    <radTree:RadTreeNode Text="Node1" SelectedImageUrl="/image1.gif"></radTree:RadTreeNode>
                    <radTree:RadTreeNode Text="Node2" SelectedImageUrl="/image1.gif"></radTree:RadTreeNode>
                   <radTree:RadTreeNode Text="Node3" SelectedImageUrl="/image1.gif"></radTree:RadTreeNode>
    </Nodes>
    </radTree:RadTreeView>

    The RadTree will populate with three nodes. Initially Select the "Node1" the selectedimageurl will displayed
    for the node1. Now select the "Node3" the selectedImageUrl is showing for "Node3", without hiding the "Node1"
    selected image url. I just want to only one at the same time.
  2. Answer
    Plamen
    Admin
    Plamen avatar
    3056 posts

    Posted 08 Jul 2011 Link to this post

    Hi Vijayashankar Palanichamy,

    When you use SelectedImageUrl you must have ImageUrl set as well, then they work properly. Otherwise after  the first selection the SelectedImageUrl is considered as the default ImageUrl.

    Regards,
    Plamen Zdravkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. vijayashankar palanichamy
    vijayashankar palanichamy avatar
    3 posts
    Member since:
    Dec 2009

    Posted 08 Jul 2011 Link to this post

    It is working as like charm
Back to Top