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

[Solved] rcbArrowCellRight - how to make click work on larger button?

1 Answer 103 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 14 Nov 2009, 03:52 AM
I am not sure I did the styling properly, but I was able to get the 35px image to appear for the arrow in the dropdown. Unfortunately, the clickable area is still the original area. If I click about where the arrow is, nothing happens.

I know this is because the image is really the background image, and not a button, but what is the proper way to make that whole cell react to the mouse click?

 
div.RadComboBox  
 border-style:outset; 
 border-color:#bbd1b1; 
 
div.RadComboBox td.rcbArrowCell  
    min-width:35px; 
}  
 
div.RadComboBox td.rcbArrowCellRight {  
    background: url('/images/app/upload_arrow.png') no-repeat !important; 
    width:35px; 
}  
     
div.RadComboBox  .rcbInput 
    font-size:14px; 
    font-family:Helvetica Neue, Arial; 
    font-weight:bold; 
    background:#ffffff;  
    color:Red; 

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 18 Nov 2009, 01:38 PM
Hi Adam,

This happens because you are enlarging the <td> element whereas the <a> inside it remains smaller and it is the actual clickable element.

You need to enlarge the <a> element as well with the following CSS rule:

div.RadComboBox td.rcbArrowCellRight a
{
    width: 35px;
}

Best wishes,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Adam
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or