>I am currently using ASP.NET and I would like to add an input mask (data formatting) to some text boxes I have on my web form. i.e. Price, Date, Social Security, etc. These textboxes are not in a grid, they are simply on the form.
>
>I would like my web page to show $19,545.45 or 10/16/1964 or 554-84-5595 as they are typing the data or after they leave the textbox.
>
>How do I do this? Can someone give me a hand with this? Thank you in advance.
You will probably to subclass the Web TextBox and create a masked textbox. That is the only simple way that I know of. You may be able to purchase some controls, otherwise you will have to write one.
I've written one for the Windows UI, and I made heavy use of Regular Expressions for handing the formatting and everything.
Morgan
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only