[CLOSED] InputMask JS error

  1. #1

    [CLOSED] InputMask JS error

    Hi, I'm using ExtJS version 4.2.0.489 and Ext.net version 2.1.0. The code below throws a javascript error. I'm using IE 9 standards.

    JS error: "Unable to set value of the property 'inputMask': object is null or undefined"

    <html>
    <head id="Head1" runat="server">
        <title>Test Page </title>
        <style type="text/css">
            
        </style>
    </head>
    <body>
        <script type="text/javascript">
    
        </script>
        <form id="Form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
            DisableViewState="true" />
            <ext:Panel runat="server" Layout="FitLayout" Height="500" Width="500">
                <Items>
                    <ext:TextField ID="TextField1" runat="server" Note="(999) 999-9999" FieldLabel="Phone">
                        <Plugins>
                            <ext:InputMask ID="InputMask1" runat="server" Mask="(999) 999-9999" />
                        </Plugins>
                    </ext:TextField>
                </Items>
            </ext:Panel>
        </form>
    </body>
    </html>
    Last edited by Daniil; Mar 19, 2013 at 4:27 AM. Reason: [CLOSED]
  2. #2
    Hi @stratadev,

    Your sample appears to be working fine with the SVN trunk. Please update.
  3. #3
    Hi Daniil, thanks for your reply. What ExtJS version is in the trunk? I looked at examples.ext.net and it seems like it is using 4.1.0. But I am using 4.2.0.489. Ext.AbstractComponent is causing the problem because they are different in the constructPlugin method.
  4. #4
    Currently, there is ExtJS 4.2.0 RC (which is publicly available to download) in the trunk.

    Current online Examples Explorer uses ExtJS 4.1.1 which is a base of the last public Ext.NET release v2.1.1.

Similar Threads

  1. What values can I use in the InputMask Plugin?
    By KBorkiewicz in forum 2.x Help
    Replies: 2
    Last Post: Mar 26, 2013, 1:32 AM
  2. Disabling InputMask using JS
    By joaxazevedo in forum 2.x Help
    Replies: 1
    Last Post: Mar 06, 2013, 3:17 PM
  3. [CLOSED] InputMask
    By sigmasafi in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 28, 2013, 4:08 AM
  4. How to add an InputMask plugin?
    By joaxazevedo in forum 2.x Help
    Replies: 3
    Last Post: Feb 21, 2013, 8:28 PM
  5. Replies: 7
    Last Post: Dec 05, 2012, 6:11 AM

Tags for this Thread

Posting Permissions