3

I am using the MaskedEditExtender control for a textbox field that contains Date of Birth. I want the mask to show "mm/dd/yyyy" when the user clicks on the textbox when it is empty. Right now it only shows "__/_/__"

user31673
  • 13,245
  • 12
  • 58
  • 96

1 Answers1

1

I believe you can set the PromptCharacter to something else, but I don't think you can specify multiple prompt characters in one textbox. Because of this I would say your options are limited to:

  • Javascript schenanigans where you replace the "_" with m,d or y depending on where it is in the text box.
  • Multiple textboxes
Abe Miessler
  • 82,532
  • 99
  • 305
  • 486