Event Mask doesn't work!!

  1. #1

    Event Mask doesn't work!!

    Hi
    i used from this code but eventmask don't work!!
    <Buttons>
                    <ext:Button ID="btn" runat="server" Text="Change" Icon="Disk" CtCls="ltr">
                        <AjaxEvents>                     
                            <Click OnEvent="btn_Click">
                                <EventMask ShowMask="true" Msg="Saving..." MinDelay="1000" />
                            </Click>               
                        </AjaxEvents>
                    </ext:Button>
                </Buttons>
    this button is in a Desktop window.
  2. #2

    RE: Event Mask doesn't work!!

    Hi MoNo,

    I tried your code in a Desktop example and it appears to work correctly for me.*


    Can you explain greater detail what you mean my "eventmask don't work!!"?




    Geoffrey McGill
    Founder
  3. #3

    RE: Event Mask doesn't work!!

    here is my Code in Desktop.aspx for changepasswordwindow
     <ext:DesktopWindow 
                ID="ChagePasswordWindow" 
                runat="server" 
                Title="????? ???? ? ???" 
                Icon="User"
                BodyStyle="padding:5px;"
                Width="350"
                Height="200"
                PageX="100" 
                PageY="25">
                <Body>
                    <ext:FormLayout ID="FormLayout1" runat="server" LabelWidth="120" Cls="rtl">
                        <ext:Anchor>
                            <ext:Label ID="lblPrePassword" Text="????? ????" runat="server" > </ext:Label>
                        </ext:Anchor>
                        <ext:Anchor>
                            <ext:TextField ID="txtPrePassword" runat="server" HideLabel="true" InputType="Password"></ext:TextField>
                        </ext:Anchor>                                    
                        <ext:Anchor>
                            <ext:Label ID="lblNewPassword" Text="????? ????" runat="server" > </ext:Label>
                        </ext:Anchor>
                        <ext:Anchor >
                            <ext:TextField ID="txtNewPassword" runat="server" HideLabel="true" InputType="Password" />
                        </ext:Anchor>
                         <ext:Anchor>
                            <ext:Label ID="lblReNewPassword" Text="????? ????? ????" runat="server" > </ext:Label>
                        </ext:Anchor>
                        <ext:Anchor >
                            <ext:TextField ID="txtReNewPassword" runat="server" HideLabel="true" InputType="Password" />
                        </ext:Anchor>                 
                    </ext:FormLayout>
                </Body>
                 <Buttons>
                    <ext:Button ID="btn" runat="server" Text="?????" Icon="Disk" CtCls="ltr">
                        <AjaxEvents>                     
                            <Click OnEvent="btn_Click">
                                <EventMask ShowMask="true" Msg="??? ???????..." MinDelay="1000" />
                            </Click>               
                        </AjaxEvents>
                    </ext:Button>
                </Buttons>
            </ext:DesktopWindow>
    and my Cs code in my Desktop.aspx.cs is
      protected void btn_Click(object sender, AjaxEventArgs e)
        {
           
        }
    but my event mask doesn't show!!! ;)
    thank u for helping
  4. #4

    RE: Event Mask doesn't work!!

    Hi
    :(( all of my event masks don't work!! even logout button!!and they don't call their method in CS file.

  5. #5

    RE: Event Mask doesn't work!!

    Hi MoNo,

    I think there maybe something else wrong somewhere. I tested your DesktopWindow code and it appears to work correctly... at least with the current code base in SVN. Maybe there was a problem with v0.7 that's been fixed within the next release.*


    Geoffrey McGill
    Founder
  6. #6

    RE: Event Mask doesn't work!!

    Hi MoNO,

    You're using Ajax Event so on the top of your method you should put:

    [AjaxMethod]
    protected void btn_Click(object sender, AjaxEventArgs e)
    {
    // Your code
    }

  7. #7

    RE: Event Mask doesn't work!!

  8. #8

    RE: Event Mask doesn't work!!

    Hi
    i used [ajaxmethod] on top of my code but it don't work,yet. :(

Similar Threads

  1. Replies: 6
    Last Post: Nov 10, 2010, 9:22 AM
  2. tabpanel doesn't work in IE8
    By maryam in forum 1.x Help
    Replies: 3
    Last Post: Aug 18, 2010, 5:49 AM
  3. Replies: 8
    Last Post: Aug 17, 2009, 7:44 PM
  4. Keymap doesn't work
    By Kamal in forum 1.x Help
    Replies: 2
    Last Post: Aug 13, 2009, 10:49 AM
  5. Replies: 0
    Last Post: Jun 01, 2009, 5:27 AM

Posting Permissions