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

How to set an box around the filter icon.

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Anto (DLL Version : 2008.3.1314.35) asked on 27 Apr 2010, 02:32 PM
Hi All,

Have a grid with records, which works fine.

For the Filter there is an image. I need a box around the image.

So I tried it by creating an custom skin, even it works fine.

For the box, I used an style in the css. But it is not working.

.RadGrid_AntoNewBlue .rgFilterBox 
    border:1px solid #abc1de
    padding:2px 1px 3px
    font:12px "segoe ui",arial,sans-serif
    color:#000
    vertical-align:middle

Have sent the screen shot.

Please could anybody help me to solve this.

-Anto





1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Apr 2010, 08:04 AM
Hello Anto,

The rgFilterBox CSS class is for the filtering textbox, not the icon. In addition, it does not exist in your RadGrid version.

In order to add border to the icon, use the following CSS rule:

.RadGrid_SkinName  .GridFilterRow_SkinName  .rgFilter
{
          border: 1px  solid  #abc1de;
          background-color: yellow ;
}

Judging by the screenshot, your skin is Office2007.

Regards,
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.
Tags
Grid
Asked by
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or