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

Problem With TreeNode Image when select TreeNode

1 Answer 50 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
bhavesh
Top achievements
Rank 1
bhavesh asked on 01 Jul 2011, 10:42 AM
Hi All,
           I have used <asp:TreeView> tag for treeview, and i have set SelectedNodeStyle & NodeStyle Property such like has shown in below code 

<asp:TreeView ID="TreeView1" ShowLines="false" ShowExpandCollapse="true" runat="server" 
            Height="330px" ExpandDepth="10" CssClass="Normal" ForeColor="#585880" Font-Size="10px"
            Font-Names="Verdana" NodeIndent="10" EnableClientScript="true" onclick="javascript:call();">
            <SelectedNodeStyle CssClass="treeStyleNodeSelect" ImageUrl="~/Images/leaf.gif"/>            
            <NodeStyle CssClass="treeStyleNode"  ImageUrl="~/Images/leaf.gif"/>
</asp:TreeView>

                     Now When I click on TreeNode Image To select the TreeNode ,then that TreeNode Image Highlighted ,but then when we select another TreeNode Previous TreeNode Image also Remain Highlighted such like has Shown in Image Select.jpg


                           So What Can I do to Solve This Problem Please Replay me.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 04 Jul 2011, 12:54 PM
Hi Bhavesh,

We replied to your other forum thread about the same question -
http://www.telerik.com/community/forums/aspnet-ajax/treeview/problem-with-highlight-currently-selected-treenode.aspx
 
Best wishes, Plamen Zdravkov
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.

Tags
TreeView
Asked by
bhavesh
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or