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

[Solved] change icon plus / minus MVC treeview

2 Answers 28 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
iman
Top achievements
Rank 1
iman asked on 01 Aug 2011, 06:01 AM
Hi

does any one know how to change plus / minus icon in MVC treeview ?? 

I have my own icon to use as expand and collaps. how can i use my icon instead of plus/minus in MVC treeview ??


tanks for your help.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Aug 2011, 02:47 PM
Hi Iman,

You need to add custom styles to your application, which override the styles that apply background images to the expand/collapse TreeView buttons. For example:


.t-treeview .t-plus
{
       background: center center no-repeat url(........);
}

.t-treeview .t-minus
{
       background: center center no-repeat url(........);
}


Greetings,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

0
iman
Top achievements
Rank 1
answered on 01 Aug 2011, 07:52 PM
tnx 
I try that. 
Tags
TreeView
Asked by
iman
Top achievements
Rank 1
Answers by
Dimo
Telerik team
iman
Top achievements
Rank 1
Share this question
or