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

Radtreeview node shows different color in Onclick

3 Answers 88 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nagendra
Top achievements
Rank 1
Nagendra asked on 22 Jul 2011, 08:20 AM
Hi,

      I have radtreeview and radgrid in my page.
     
      My problems are:
     1. I am binding radtreeview dynamically from database, Initially after binding radtreeview expand is not working. After clicking on node   radtreeview expand working fine.

      2. When i clicking on node it's color will be changed to light blue color, how can i remove this color from node. 

below is the screen shot of my issues. Thanks in advance.


Thanks,
Nagendra.

3 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 22 Jul 2011, 02:19 PM
Hello Nagendra,

When a node is clicked it gets the style rtSelected applied to it. To remove the background when a node is selected, you can add this to your page:

.RadTreeView .rtUL .rtLI .rtSelected .rtIn
{
    background: none !important;
}

I hope that helps.
0
Nagendra
Top achievements
Rank 1
answered on 27 Jul 2011, 07:10 AM
Hi Kevin,

       Thanking you for giving reply.
       removing background color is working fine.
       I have another problem in radtreeview
       1. I am binding radtreeview dynamically from database, Initially after binding radtreeview expand is not working. After clicking on   node   radtreeview expand working fine.

   Please provide me help to resolve this issue.

Thanks,
Nagendra.
0
Plamen
Telerik team
answered on 29 Jul 2011, 12:19 PM
Hi Nagendra,

"Expand" is a property of the node so you can try to set it in the NodeDataBound event. You can have a look at our Binding to Array, ArrayList and Generic List help or Programmatic DataBinding demo.

Hope this is helpful.

Greetings,
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
ComboBox
Asked by
Nagendra
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Nagendra
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or