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

Arrow image can not change

1 Answer 59 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 16 Jun 2016, 11:35 AM

Hi,

We've used default skin, we've requirement to change its default arrow image with search image. Currently same classes are applied on all comboboxes when we change arrow image class than these changes are affected on all comboboxes. We need to change arrow image only in one combobox by using its default skin. How we change that like showing in attached snapshot? Any example would be appreciated.

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 21 Jun 2016, 11:25 AM
Hello,

You could add a custom class to the CssClass property of the ComboBox. All the rules in this custom css class will be applied only to the ComboBox that has it. You could investigate further the generated HTML and select the right element you want to style. Here is an article with all the CSS Selectors and a CSS Selector Tester. Here is a simple example showing how to set a custom class to the ComboBox: 

<telerik:RadComboBox ID="RadComboBox3" runat="server" CssClass="MyCustomCssClass"></telerik:RadComboBox>


Regards,
Peter Milchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
ComboBox
Asked by
Eric
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or