[FIXED] [2.5] can't disable icon in button (IE8)

  1. #1

    [FIXED] [2.5] can't disable icon in button (IE8)

    This bug appears in 2.3.1 and 2.4 latest version.
    and also can not disable image button in IE8.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <title></title>
    </head>
    <body>
      <ext:ResourceManager runat="server" />
    
      <ext:Panel runat="server" Title="Button Disable Bug In IE8">
        <TopBar>
          <ext:Toolbar runat="server">
            <Items>
              <ext:Button ID="Button1" runat="server" Text="Test Disable" Icon="Accept" Scale="Medium" />
            </Items>
          </ext:Toolbar>
        </TopBar>
        <Items>
          <ext:Checkbox runat="server" BoxLabel="Set Disable Change" Handler="if (this.checked) { #{Button1}.setDisabled(true); } else { #{Button1}.setDisabled(false); }" />
        </Items>
      </ext:Panel>
    </body>
    </html>
    screen shot
    Click image for larger version. 

Name:	button.png 
Views:	32 
Size:	4.0 KB 
ID:	7325
    Last edited by Daniil; Dec 05, 2013 at 5:48 AM. Reason: [FIXED] [2.5]
  2. #2
    Hi @his363,

    Thank you for the report.

    Please try this:
    <style>
        .x-ie8 .x-item-disabled span.x-btn-icon-el {
            filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
        }
    </style>
    Quote Originally Posted by his363 View Post
    and also can not disable image button in IE8.
    An ImageButton requires DisabledImageUrl for disabling. Did you specify?
    https://examples2.ext.net/#/Buttons/Basic/ImageButton/
  3. #3

    it works.

    Thank you Daniil!! It works.

    I misunderstand about ImageButton.

    please close this thread.
  4. #4
    Thank you for confirming. The fix has been committed to the SVN trunk. It will go to the next release (v2.5).

Similar Threads

  1. [CLOSED] Gridcommand replace Icon and disable command
    By sisa in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 24, 2013, 12:55 PM
  2. [CLOSED] Enable/Disable Button
    By FVNoel in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 19, 2013, 12:02 PM
  3. Disable refresh button in PagingToolBar
    By Kaido in forum 1.x Help
    Replies: 7
    Last Post: Jan 05, 2011, 5:11 PM
  4. Button Enable/Disable
    By Maia in forum 1.x Help
    Replies: 5
    Last Post: Jul 02, 2010, 8:03 PM
  5. Enable or disable the button
    By VietView in forum 1.x Help
    Replies: 4
    Last Post: Jan 09, 2009, 11:59 AM

Posting Permissions