Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
Web Image button not rendering text
posted

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

Parents
No Data
Reply
  • 28464
    posted

     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. 


     

Children
No Data