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

SelectedImageURL issue on Tree node

2 Answers 33 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
vijayashankar palanichamy
Top achievements
Rank 1
vijayashankar palanichamy asked on 06 Jul 2011, 10:42 PM
<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 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 08 Jul 2011, 03:16 PM
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!

0
vijayashankar palanichamy
Top achievements
Rank 1
answered on 08 Jul 2011, 07:50 PM
It is working as like charm
Tags
TreeView
Asked by
vijayashankar palanichamy
Top achievements
Rank 1
Answers by
Plamen
Telerik team
vijayashankar palanichamy
Top achievements
Rank 1
Share this question
or