how to display the text on ImageButton.

Posted by Ranjana on Stack Overflow See other posts from Stack Overflow or by Ranjana
Published on 2010-05-05T07:41:47Z Indexed on 2010/05/05 7:48 UTC
Read the original article Hit count: 371

Filed under:
|
|

how to display the text on ImageButton. or how to have a linkbutton on Image

I have tried this:

 <asp:LinkButton ID="lbYear" runat="server" CausesValidation="false" Text="HOME">
    <asp:Image ID="Image1" runat="server" ImageUrl="~/images/menu.png" Width="90px" Height="39px" />
 </asp:LinkButton>

but it is showing the text above the Image..

© Stack Overflow or respective owner

Related posts about linkbutton

Related posts about imagebutton