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

How to edit the css of radbutton

3 Answers 181 Views
Button
This is a migrated thread and some comments may be shown as answers.
Dorababu
Top achievements
Rank 1
Dorababu asked on 09 Aug 2012, 11:38 AM
I would like to add print preview image to a button such that the button look and feel should be the same as print button, where can I add the required image in the existing css can some one help me

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 09 Aug 2012, 01:18 PM
Hi,

You can configure the RadButton as image button using the following CSS.
ASPX:
<telerik:radbutton id="RadButton1" runat="server" text="Image Button" cssclass="classImage">
    <Image EnableImageButton="true" />
</telerik:radbutton>
CSS:
.classImage
{
 background: url(Images/img.gif);
 background-position: 0 0;
 width: 20px;
 height: 10px;
}

Thanks,
Shinu.
0
Dorababu
Top achievements
Rank 1
answered on 09 Aug 2012, 01:47 PM
Unable to view the text check my attachment
0
Dorababu
Top achievements
Rank 1
answered on 09 Aug 2012, 02:19 PM
Tags
Button
Asked by
Dorababu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dorababu
Top achievements
Rank 1
Share this question
or