[FIXED] [#874] [3.2.1] Button.AutoLoadingState incorrect behaviour if event Click.Before return false.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [FIXED] [#874] [3.2.1] Button.AutoLoadingState incorrect behaviour if event Click.Before return false.

    Hello,

    AutoLoadingState(true) loading mask doesn't hide if Before handler in click event return false.

    @using Ext.Net;
    @using Ext.Net.MVC;
    
    @{
        Layout = null;
        var X = Html.X();
    }
    
    <!DOCTYPE html>
    
    <html>
    <head>
    </head>
    <body>
        @(Html.X().ResourceManager().ScriptMode(Ext.Net.ScriptMode.Debug))
    
        @(X.Button()
            .Text("Text")
            .AutoLoadingState(true)
            .DirectEvents(de =>
            {
                de.Click.Url = Url.Action("Click");
                de.Click.Before = "return false;";
            })
        )
    
    </body>
    </html>
    Last edited by Daniil; Aug 21, 2015 at 12:39 PM. Reason: [FIXED] [#874] [3.2.1]
  2. #2
    It wasn't fixed in v3.2.0
  3. #3
    Hi Yury,

    Thank you for the report!

    Created an Issue.
    https://github.com/extnet/Ext.NET/issues/874

    Fixed in the revision #6536 (trunk). It goes to 3.2.1.
    Last edited by Daniil; Aug 21, 2015 at 3:56 PM.

Similar Threads

  1. Replies: 3
    Last Post: May 28, 2013, 4:02 PM
  2. [CLOSED] [2.1] From panel field's width incorrect behaviour
    By Leonid_Veriga in forum 2.x Premium Help
    Replies: 3
    Last Post: Sep 04, 2012, 12:25 PM
  3. Replies: 2
    Last Post: Apr 09, 2012, 2:13 PM
  4. radio button always return false
    By hector_toy82 in forum 1.x Help
    Replies: 0
    Last Post: Nov 17, 2010, 7:11 PM
  5. Replies: 7
    Last Post: Jul 20, 2009, 2:14 PM

Posting Permissions