5 Answers, 1 is accepted
0
Hello Freddy,
You can change the default image with CSS. Here's how you can do that:
All the best,
Bozhidar
the Telerik team
You can change the default image with CSS. Here's how you can do that:
.rsbButtonSearch .rsbIcon{
background-image
:
url
(image.png)
!important
;
background-position
:
0
!important
;
}
All the best,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 08 Feb 2016, 10:30 AM
Hello,
If there are 2 different RadSearchBoxes on the same page, is it possible to customize only one of the search button icons ?
if yes, how?
Thanks in advance,
All the best,
Jm
0
Hello Freddy,
If you have several SearchBox controls on your page and want to change the button's background image of one of them you could set a CssClass to that SeachBox and use the class in the CSS rule's selector:
Regards,
Ivan Danchev
Telerik
If you have several SearchBox controls on your page and want to change the button's background image of one of them you could set a CssClass to that SeachBox and use the class in the CSS rule's selector:
<
telerik:RadSearchBox
runat
=
"server"
ID
=
"RadSearchBox1"
CssClass
=
"CustomizedSearchBox"
>
.CustomizedSearchBox .rsbButtonSearch .rsbIcon {
background-image
:
url
(image.png)
!important
;
background-position
:
0
!important
;
}
Regards,
Ivan Danchev
Telerik
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 Feedback Portal
and vote to affect the priority of the items
0
Jean-Marc
Top achievements
Rank 1
answered on 10 Feb 2016, 02:25 PM
Thank you Ivan,
it works perfectly
All the best
Jm
0
Hello Jim,
We are glad the suggested styles helped you achieve the desired SearchBox appearance.
Regards,
Ivan Danchev
Telerik
We are glad the suggested styles helped you achieve the desired SearchBox appearance.
Regards,
Ivan Danchev
Telerik
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 Feedback Portal
and vote to affect the priority of the items