[CLOSED] Is there any Button with the loading/spinning is inside the Button in v2.0 ?

  1. #1

    [CLOSED] Is there any Button with the loading/spinning is inside the Button in v2.0 ?

    I remember seeing a button where the loading mask was inside the button itself.
    Last edited by Daniil; Jun 29, 2012 at 4:45 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Well, it's possible.

    Example
    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.NET Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
    
        <ext:Button ID="Button1" runat="server" Text="Test" Width="400" />
    
        <ext:Button runat="server" Text="Mask">
            <Listeners>
                <Click Handler="App.Button1.el.mask('Wait...', 'x-mask-loading');" />
            </Listeners>
        </ext:Button>
    </body>
    </html>
  3. #3
    Thanks.

    I could of sworn I saw a different feature in v1.4

    Quote Originally Posted by Daniil View Post
    Hi,

    Well, it's possible.

    Example
    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.NET Example</title>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
    
        <ext:Button ID="Button1" runat="server" Text="Test" Width="400" />
    
        <ext:Button runat="server" Text="Mask">
            <Listeners>
                <Click Handler="App.Button1.el.mask('Wait...', 'x-mask-loading');" />
            </Listeners>
        </ext:Button>
    </body>
    </html>
  4. #4
    I have no idea what it might be.

    Could you clarify the requirement?
  5. #5
    I will look around and see if I can fine it and I'll update you on my findings.

    But, it look likes the Mask was inside the button to the right and on the sample when you click on the button, the 'Mask spinner' appears inside the button to the right of the text and show a process is being executed.

    Quote Originally Posted by Daniil View Post
    I have no idea what it might be.

    Could you clarify the requirement?
  6. #6
    I can't remember...

    Maybe, you have seen this:
    http://examples1.ext.net/#/Form/Vali...te_Validation/

    Try to type in the third field.
  7. #7
    YIP, that's it!! GOOD CALL...

    My mistake... ;(

    Thanks...

    Quote Originally Posted by Daniil View Post
    I can't remember...

    Maybe, you have seen this:
    http://examples1.ext.net/#/Form/Vali...te_Validation/

    Try to type in the third field.
  8. #8
    No problem, glad to help!

    By the way, the loading image is not loaded in v2 same example:
    http://examples2.ext.net/#/Form/Vali...te_Validation/

    We are investigating the problem.

    Though it should work with this option of the ResourceManager
    RenderStyles="Embedded"
    which is by default.
  9. #9
    Quote Originally Posted by Daniil View Post
    By the way, the loading image is not loaded in v2 same example:
    http://examples2.ext.net/#/Form/Vali...te_Validation/

    We are investigating the problem.
    It has been fixed.

Similar Threads

  1. Button inside ButtonGroup
    By softmachine2011 in forum 2.x Help
    Replies: 2
    Last Post: Jun 04, 2012, 9:21 AM
  2. [CLOSED] Button inside compositefield
    By SouthDeveloper in forum 1.x Premium Help
    Replies: 5
    Last Post: May 04, 2011, 9:19 PM
  3. [CLOSED] Align label inside the button
    By majunior in forum 1.x Premium Help
    Replies: 3
    Last Post: Mar 19, 2011, 4:21 AM
  4. Replies: 3
    Last Post: Feb 02, 2010, 7:32 PM
  5. [CLOSED] Ext Button - Control - inside XTemplate
    By methode in forum 1.x Premium Help
    Replies: 4
    Last Post: Sep 08, 2009, 8:16 AM

Posting Permissions