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

backgroundimage to a RadButton

4 Answers 281 Views
Button
This is a migrated thread and some comments may be shown as answers.
Sigma
Top achievements
Rank 1
Sigma asked on 31 Aug 2012, 07:00 AM
Hi,

How can I add a backgroundimage to a RadButton while the text in the RadButton is showing?

Sigma.

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 31 Aug 2012, 11:26 AM
Hi,

Try the following code to achieve your scenario.
aspx:
<telerik:radbutton id="RadButton1" runat="server" text="Show">
    <Icon PrimaryIconUrl="Images/img.png" />
</telerik:radbutton>

Thanks,
Princy.
0
Sigma
Top achievements
Rank 1
answered on 03 Sep 2012, 11:52 AM
Thanks for your reply. Bt it is not showing as a backgroundimage. I need a backgroundimage
0
Accepted
Princy
Top achievements
Rank 2
answered on 03 Sep 2012, 11:59 AM
Hi Sigma,

Try the following code snippet to achieve your scenario.

ASPX:
<telerik:RadButton ID="RadButton1" runat="server" Text="Show">
        <Image IsBackgroundImage="true" ImageUrl="../Images/image.jpg" />
</telerik:RadButton>

Hope this helps.

Regards,
Princy.
0
Sigma
Top achievements
Rank 1
answered on 03 Sep 2012, 12:01 PM
thnks
Tags
Button
Asked by
Sigma
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Sigma
Top achievements
Rank 1
Share this question
or