Mar 13, 2013, 2:08 PM
[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"
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]