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

Filter image Width???

1 Answer 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 10 May 2011, 11:17 PM
Hello,

I have a Rad Grid and on it I have 2 filters.. The boss told me he wanted to use a button/image of [Search] and not the default icon that is used for Filtering... I figured out how to change the Icon to use an image via the code below:

.rgFilter 

  background:url('../images/search.gif') !important; 
}  

But when viewed in a browser it clips the image to the same size of the old Icon...

where to set this size/width??

View attached image to see the problem
or URL: http://tinyurl.com/4xzqbyu

Thanks
Shane

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 May 2011, 05:37 AM
Hello Shane,

You could also override the width as well in the CSS.
CSS:
.RadGrid .rgFilter
   {
         background:url(../Images/btnRename.jpg) !important;
         width:60px; !important;//set the width accordingly.
   }

Thanks,
Shinu.
Tags
General Discussions
Asked by
Shane
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or