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

RadComboBox hover border

3 Answers 203 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 07 Sep 2011, 03:40 PM
Hi,

I'm using default skin for RadComboBox but I would like its border to become black on mouse hover. I know that RadComboBox uses background image to draw the border. Could you give me any suggestions how to solve my issue?

Thanks,
Andrey

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Sep 2011, 04:23 PM
Hello Andrey,

Try setting the following CSS to change the border to become black on mouse hover.
CSS:
<style type="text/css">
    .rcbInputCell :hover
    {
     border:1px solid Black !important;
    }
</style>

Thanks,
Princy.
0
Andrey
Top achievements
Rank 1
answered on 08 Sep 2011, 07:51 AM
Unfortunately it doesn't work.

However, I was able to set border via styles but that isn't I really want. The problem is that RadComboBox uses background image to draw the (gray) border while 'real' border is absent. If I'll apply (black) border via styles there will be two visible borders.
0
Ivana
Telerik team
answered on 12 Sep 2011, 04:22 PM
Hello Andrey,

You could create a custom skin for the RadComboBox, defining your own styles.

Here is a help article showing step by step how to create a custom skin using the default skin as a base:
Tutorial: Creating a Custom Skin.

Hope this helps.

All the best,
Ivana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
ComboBox
Asked by
Andrey
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Andrey
Top achievements
Rank 1
Ivana
Telerik team
Share this question
or