How can I do EventMask hide when OnEvent finished.

  1. #1

    How can I do EventMask hide when OnEvent finished.

    When button fired EventMask is showing. But the eventmask hide before than the OnEvent of ext:Button finished.
    How can I do EventMask hide when OnEvent finished.

    Thanks for yours help.
  2. #2
    Hi @Lisseth,

    The mask is hidden when the server response riches the browser that initiated the request, when the response is parsed.

    So, the mask cannot be hidden before the execution of the server side handler.

    Another thing, when your server side handler causes some client side operations like rendering of new controls. Yes, the mask doesn't know anything that and it doesn't wait it. In this case you should organize the mask manually. Just show the mask before a request and hide when needed.

    To show:
    Ext.net.Mask.show();
    To hide:
    Ext.net.Mask.hide();
  3. #3
    Thanks for your answer.

    I'm a beginner using ext.net controls and try the suggested, but not show me that property within the test event:

    Click image for larger version. 

Name:	foro1.png 
Views:	9 
Size:	2.8 KB 
ID:	15661

    This is my ext:Button inside my aspx page:

    Click image for larger version. 

Name:	foro.png 
Views:	8 
Size:	5.1 KB 
ID:	15651

    If you have any other suggestions, I thank you.
  4. #4
    It is JavaScript code in my previous post. It should run on client side.
  5. #5
    Problem solved. please close the thread.

Similar Threads

  1. How can i do Button EventMask Hide
    By fatihunal in forum 1.x Help
    Replies: 7
    Last Post: Jan 12, 2016, 4:22 PM
  2. Replies: 2
    Last Post: Mar 11, 2014, 6:55 AM
  3. [CLOSED] Event for when drawing is finished
    By Stijn in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 13, 2012, 1:15 PM
  4. [CLOSED] EventMask hide/disable
    By ndotis in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 08, 2011, 8:06 PM
  5. [CLOSED] How to wait until a DirectMethod is finished?
    By macap in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 31, 2010, 4:34 AM

Tags for this Thread

Posting Permissions