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

Image button not displaying.

1 Answer 168 Views
Button
This is a migrated thread and some comments may be shown as answers.
Teena
Top achievements
Rank 1
Teena asked on 20 Mar 2013, 08:17 AM
Hi All,

I am trying to add a telerik image button in my page but it is not displayed. I am not applying any CSS. Here is the markup I tried.

<telerik: RadButton ID="RadButtonImg" runat="server" Text="Download">
   <Image ImageUrl="Dld.png" />
</telerik:RadButton>

Please provide a solution to resolve this issue.

Thanks in advance,
Teena.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 20 Mar 2013, 08:55 AM
Hi Teena,

The image button is not displayed since you are not setting its width and height. Try settings its width and height as shown in the following mark-up.

ASPX:
<telerik:RadButton ID="RadButtonImg" runat="server" Text="Download" Width="50px" Height="50px">
    <Image ImageUrl="../Images/Download1.png"  />
</telerik:RadButton>

Thanks,
Princy.
Tags
Button
Asked by
Teena
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or