[CLOSED] Button mask at ajax postbak

  1. #1

    [CLOSED] Button mask at ajax postbak

    Hi folks,

    based on this thread, can I show a mask when button is pressed?

    Thanks a lot!

    http://forums.ext.net/showthread.php...t-Button-issue
    Last edited by Daniil; Dec 20, 2012 at 8:27 AM. Reason: [CLOSED]
  2. #2
    Hi @digitek,

    Is that Button with AutoPostBack="true"?
  3. #3
    Hi Daniil,

    yes it is:

    <ext:Button
        ID="ExtNetButton"
        runat="server"
        Text="Ext.Net Button"
        AutoPostBack="true"
        OnClick="AspButton_Click" />
    Cheers!!
  4. #4
    If AutoPostBack="true", then the Page will be refreshed and any Mask you try to set will be wiped out when the Page reloads.

    Using a Mask is probably only applicable if you're using an Ajax request, such as a DirectEvent or DirectMethod.
    Geoffrey McGill
    Founder
  5. #5
    Hi Geoffrey and Daniil,

    thanks a lot for your help. You can close this ticket.

    Finally the code is:

    <ext:Button ID="btnBuscar" runat="server" AutoPostBack="true" OnClick="btnBuscar_click" Text="Search">
        <Listeners>
            <Click Handler="Ext.Msg.wait('Please wait ...');" />
        </Listeners>
    </ext:Button>
    Talk you soon!

Similar Threads

  1. Single mask for all ajax calls
    By huzzy143 in forum 1.x Help
    Replies: 3
    Last Post: Jan 24, 2012, 6:37 PM
  2. [CLOSED] Export Data From Grid Panel via AJAX with mask
    By anup in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Sep 10, 2010, 7:31 AM
  3. Replies: 4
    Last Post: Feb 06, 2010, 1:34 AM
  4. [CLOSED] Changing loading mask text during ajax event
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 22, 2010, 10:20 AM
  5. [CLOSED] Mask + durection of ajax request
    By CSG in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Aug 05, 2009, 7:59 AM

Posting Permissions