Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Web Image button not rendering text

Last post 08-01-2008 6:51 by [Infragistics] Rumen Stankov. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-01-2008 6:32

    • mbdc
    • Not Ranked
    • Joined on 04-28-2008
    • Points 85

    Web Image button not rendering text

    Hi, I have a web image button that refuses to display text on th button in Firefox (to right) and not at all in IE7 - this is the code:

    <igtxt:webimagebutton ID="LoginButton" runat="server" Width="100px" CommandName="Login"

    DisplayMode="Block"

    UseBrowserDefaults="False" onclick="LoginButton_Click" Text="Marc">

    <RoundedCorners MaxHeight="23" MaxWidth="300"

    RenderingType="FileImages" HeightOfBottomEdge="0" WidthOfRightEdge="13"></RoundedCorners>

    <Appearance>

    <Image Url="./styling/Default/images/button_officeBlue.gif" />

    <Style ForeColor="#666666">

    </Style>

    </Appearance>

    <HoverAppearance>

    <Image Url="./styling/Default/images/button_silver.gif" />

    </HoverAppearance>

    </igtxt:WebImageButton>

    Any help would be apprieciated

    Thanks

    Marc

    Filed under:
    • Post Points: 20
  • 08-01-2008 6:51 In reply to

    Re: Web Image button not rendering text

     Hello Marc,

    I recently have seen a similar problem and a resolution to the problem in this forum thread - please, take a look and let us know if this helps.

    http://forums.infragistics.com/forums/t/11424.aspx

    I would guess that the ./ syntax is not mapped correctly in browsers,  

    <Image Url="./styling/Default/images/button_officeBlue.gif" />

    You can try using ~/ instead of ./ and see how it goes. 


     

    Best Regards,
    Rumen Stankov (MCSD.NET)
    The Infragistics ASP.NET Team
    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems