RadImageButton

1 Answer 27 Views
ImageButton
Wayne
Top achievements
Rank 1
Iron
Wayne asked on 14 Mar 2025, 11:16 AM

Good morning once again.

Today I am trying to apply an image to the RadImageButton, however only the Text is showing, never the image.  Not sure what the issue is.

Note: there is no code behind for this button yet, its just static for testing purposes. 

<telerik:RadImageButton ID="RadImageButton1" runat="server" Text="Cat II/III" Width="50px" Height="50px">
            <Image Url="Content/Images/Cat3.png" />
        </telerik:RadImageButton>


Wayne
Top achievements
Rank 1
Iron
commented on 14 Mar 2025, 11:46 AM

I discovered the error.  The image was larger than the "Width" and Height" parameters defined in the control.  After I resized the image down, it displayed properly.  

Learning as I go.....


1 Answer, 1 is accepted

Sort by
0
Wayne
Top achievements
Rank 1
Iron
answered on 14 Mar 2025, 02:18 PM
See above... problem solved
Tags
ImageButton
Asked by
Wayne
Top achievements
Rank 1
Iron
Answers by
Wayne
Top achievements
Rank 1
Iron
Share this question
or