asp.net - AJAXControlToolkit MaskedEditExtender behavior -
i referencing latest ajaxcontroltoolkit in asp.net 4.0.xxx webform application. using extender format phone number field follows. if field left empty don't need mask showing up. if phone number entered don't want mask disappear when tabbed away field, whats happening. hyphens in mask disappear , numbers left in field. how can prevent happening?
<asp:textbox id="contact_homephone" runat="server" maxlength="50"></asp:textbox> <ajaxtoolkit:maskededitextender mask="999-999-9999" masktype="number" clearmaskonlostfocus="true" id="contact_homephone_maskededitextender" runat="server" targetcontrolid="contact_homephone" />
thanks.
i going jquery maskedinput code , working wanted , more.
thanks feedback!
Comments
Post a Comment