[CLOSED] mask till postback

  1. #1

    mask till postback

    <ext:SelectBox ID="SelectBox_View" runat="server" Width="275" ForceSelection="true" Cls="selectbox">
        <DirectEvents>
            <Select OnEvent="SelectBox_View_Selected" >
                <EventMask ShowMask="true" />
            </Select>
        </DirectEvents>
    </ext:SelectBox>
            protected void SelectBox_View_Selected(object sender, Ext.Net.DirectEventArgs e)
            {
                /* process somethign here*/
                Response.Redirect(target.aspx);
            }
    hi,

    I use directevent to response.redirect. but if you notice in slow computer, the mask are only until the ajax call succeed, that's make the user
    able to click on other link between the transititions.

    is it possible to make it mask until the page are gone, or can you suggest any better methods ? (keep in mind we need to go to server to process something)
    Last edited by nhg_itd; Dec 08, 2011 at 5:10 AM.
  2. #2
    Hi,

    Please use:
    X.Redirect("url", "Mask Message");
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use:
    X.Redirect("url", "Mask Message");
    thank daniil

    :)
  4. #4
    hi Daniil,

    how to mask all on 1st load (wait till all finish)
  5. #5
    To show and hide a mask, please use:
    Ext.net.Mask.show();
    and
    Ext.net.Mask.hide();

Similar Threads

  1. [CLOSED] detect user scrolling till end
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 16, 2011, 5:34 PM
  2. Replies: 1
    Last Post: Jul 15, 2011, 12:40 AM
  3. Replies: 10
    Last Post: May 25, 2010, 5:11 PM
  4. MessageBox does't show till after method
    By jarremw in forum 1.x Help
    Replies: 3
    Last Post: Jun 23, 2009, 4:08 AM
  5. [CLOSED] Dynamically Add Tab without postback
    By crazypsdev in forum 1.x Help
    Replies: 4
    Last Post: Sep 12, 2008, 4:30 AM

Posting Permissions