[FIXED] [#523] [2.5.3] RightButtonsShowMode + LeftButtonsShowMode

  1. #1

    [FIXED] [#523] [2.5.3] RightButtonsShowMode + LeftButtonsShowMode

    Hi,

    I think i have found a bug:

    If you set on a textfield some left and right buttons and also specify leftbuttonsshowmode and rightbuttonsshowmode to focus, only rightbuttons appears on focus. left buttons are always hidden. If you dont specify those properties, the buttons appear normal. If you only specify leftbuttonsshowmode it works as expected. I think the problem is with combination of all two properties.

    I don't know if it can be reproduced by markup code because I only work all in codebehind.


    Can you confirm that?

    Nicodemus
    Last edited by Daniil; Jul 10, 2014 at 2:37 PM. Reason: [FIXED] [#523] [2.5.3]
  2. #2
    Hi @Nicodemus,

    Thank you for the report. Created an Issue:
    https://github.com/extnet/Ext.NET/issues/523

    Here is a test case to reproduce. We are investigating.

    Example
    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:TextField 
                runat="server" 
                LeftButtonsShowMode="Focus" 
                RightButtonsShowMode="Focus">
                <LeftButtons>
                    <ext:Button runat="server" Icon="ArrowLeft" />
                </LeftButtons>
                <RightButtons>
                    <ext:Button runat="server" Icon="ArrowRight" />
                </RightButtons>
            </ext:TextField>
        </form>
    </body>
    </html>
    Last edited by Daniil; Jul 10, 2014 at 2:38 PM.
  3. #3
    It has been fixed in SVN, revision #5905. It will go to the v2.5.3 release.

Posting Permissions