Infragistics Home

Infragistics Forums

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

WebImageButton not displaying Tooltip in Firefox

Last post 09-02-2008 17:04 by [Infragistics] Viktor Snezhko. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-29-2008 3:29

    • bjorlin
    • Not Ranked
    • Joined on 08-29-2008
    • Points 20

    WebImageButton not displaying Tooltip in Firefox

    When I set the ToolTip property to some text for a WebImageButton it doesn't seem to work in Firefox, in Internet Explorer everything seem to be alright though. The issue seem to relate to that WebImageButton.ToolTip sets the alt-parameter för the img-tag but it should be the title-parameter. IE appears to incorrectly display alt as tooltip but not FF. Is this truly a bug and if so, is there a workaround until it get fixed?

     This is how I define my WebImageButton

          <igtxt:WebImageButton ID="cmdEdit" runat="server" onclick="cmdEdit_Click" Text="Edit" UseBrowserDefaults="False" SkinID="" Height="25px">
            <Appearance>
                <Image Url="~/App_Themes/kupal/Images/CMSAdminControls/EditModeButtons/edit.gif" />
                <Style Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" Cursor="Hand"></Style>
            </Appearance>
            <RoundedCorners DisabledImageUrl="[ig_butXP5wh.gif]" FocusImageUrl="[ig_butXP3wh.gif]"
                HoverImageUrl="[ig_butXP2wh.gif]" ImageUrl="[ig_butXP1wh.gif]" MaxHeight="80"
                MaxWidth="400" PressedImageUrl="[ig_butXP4wh.gif]" RenderingType="FileImages" />
             <Alignments TextImage="TextRightImageLeft" VerticalAll="Bottom" VerticalImage="Bottom" />
        </igtxt:WebImageButton>

     

    Filed under:
    • Post Points: 20
  • 09-02-2008 17:04 In reply to

    Re: WebImageButton not displaying Tooltip in Firefox

    Hi,

    Thank you for a bug report. That was unexpected behavior of a browser and fixed version will be available in public hot fixes.

    If you need urgent fix, then the only choice you have, is to modify ig_button.js file, copy it to your project and use it for WebImageButtons located on your page (set JavaScriptFileName property).
    You should open ig_button.js in text editor and modify a statement in this.doEvt function, where it cancels browser events. Do not cancel mousemove/over/out. Below is fixed statement (a == 3 && (...)).

    if(a==3 && (!ig_shared.IsSafari || !this._focusable)) ig_cancelEvent(e);

    Regards,
    Viktor
    Infragistics web team
    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems