Dec 15, 2010, 10:34 AM
Change Plugin Properties Dinamically
Hi!
I'm using InputTextMask plugin in Ext.Net 1.0RC and i want to change Mask property at runtime.
This is my aspx code:
Does anybody have an idea of how to do it in client side code, or if it's possible?
The idea is after modifying the option of a combo, execute a javascript and it changes the mask.
Thanks.
I'm using InputTextMask plugin in Ext.Net 1.0RC and i want to change Mask property at runtime.
This is my aspx code:
<ext:TextField ID="Time" runat="server" FieldLabel="Time"
AnchorHorizontal="95%" ItemCls="required" AllowBlank="false"
Regex="^(([0-1]?[0-9])|([2][0-3])):([0-5][0-9])$" RegexText="hh:mm" >
<Plugins>
<ux:InputTextMask ID="InputTextMask1" runat="server" Mask="99:99" />
</Plugins>
</ext:TextField>
I got a solution with server side code, but it's not suitable for my requirements.Does anybody have an idea of how to do it in client side code, or if it's possible?
The idea is after modifying the option of a combo, execute a javascript and it changes the mask.
Thanks.