MaskEdit - remove mask if blank ?
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I'm using the MaskEdit and have a question. I'm using a mask like 99/99/9999 on a textbox which works great. I keep the mask after focus is lost as I save the data to the database that way. However, if the user deletes their entry the textbox text is "__/__/____". I'd prefer the textbox just to be blank. I know there is a way to keep the mask if a value has been entered but discard it if the entry has been deleted (I see it done on the Atlast Control Toolkit example site). Does anyone know how this is done ? Thanks.