Masked Edit applies a “mask” to the input that permits only certain types of characters/text to be entered.The supported data formats are: Number, Date, Time, and Date Time. If not we will go into much more detail explaining the properties along with how to attach it to a Text Box and see it in its full glory.After adding out Text Boxes we simple kept the ID of the Text Boxes the default names for the purpose of this tutorial. So Let begin by adding a quick description to our Textboxes to explain the type of Validation is going on.Now that we have our quick descriptions set, we can now start adding in our Extenders to the equation, or our handy Text Boxes.I'd at least remove the Validation Expression because it's unnecessary.:) HTH, Rick Thanks for replying Rick, but unfortunately that didn't solve the problem either.You say yours is the same except for the group and expression, but there's got to be something else going on that I'm overlooking.Removing the validation group doesn't make a difference. it doesn't seem that it's needed here, but removing the validation expression allowed anything to go through, as long as it was a number - even less than nine digits.
NET AJAX extender that attaches to the Text Box control to restrict what text that can be entered.
Dear Sir, We have created lots of forms throughout application. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.
In that we have used several controls, one of the control is MASK Editor, Say for example for telephone and zip code there is 3 3 4 digit and 5 4 in zip code field is text or field width example below. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
– Decimal separator , – Thousand separator \ – Escape character – Final delimiter for repetition of masks Examples: 9999999 – Seven numeric characters 99\/99 – Four numeric characters separated in the middle by a “/” Accept AMPM – True to display an AM/PM symbol Accept Negative – True if the negative sign (-) is allowed None – Do not show the negative sign Left – Show the negative sign on the left of the mask Right – Show the negative sign on the right of the mask Auto Complete – True to automatically fill in empty mask characters not specified by the user Mask Type=Number – Empty mask characters will be filled with zeros Mask Type=Time – Empty mask characters will be filled with the current time Mask Type=Date – Empty mask characters will be filled with the current date Mask Type=Date Time – Empty mask characters will be filled with the current date/time Auto Complete Value – Default character to use when Auto Complete is enabled Century – Default century used when a date mask only has two digits for the year Clear Mask On Lost Focus – True to remove the mask when the Text Box loses focus Clear Text On Invalid – True to clear the Text Box when invalid text is entered Clipboard Enabled- True to allow copy/paste with the clipboard Clipboard Text – Prompt text to use when a clipboard paste is performed Display Money – Specifies how the currency symbol is displayed None – Do not show the currency symbol Left – Show the currency symbol on the left of the mask Right – Show the currency symbol on the right of the mask Error Tooltip Css Class – CSS class for the tooltip message Error Tooltip Enabled – True to show a tooltip message when the mouse hovers over an invalid Text Box Filtered – Valid characters for mask type “C” (case-sensitive) Input Direction – Text input direction Left To Right – Left to Right Right To Left – Right to left Message Validator Tip – Message displayed when editing in Text Box Prompt Chararacter – Prompt character for unspecified mask characters User Date Format – Custom date format User Time Format – Custom time format On Focus Css Class – CSS class used when the Text Box receives focus On Focus Css Negative – CSS class used when the Text Box gets focus with a negative value On Blur Css Negative – CSS class used when the Text Box loses focus with a negative value On Invalid Css Class – CSS class used when the text is not valid.
Culture Name – Name of culture to use (overrides the default page culture) Culture AMPMPlaceholder – Culture override Culture Currency Symbol Placeholder – Culture override Culture Date Format – Culture override Culture Date Placeholder – Culture override Culture Decimal Placeholder – Culture override Culture Thousands Placeholder – Culture override Culture Time Placeholder – Culture override Now let’s Build a quick example using some of these properties.