Mask Properties

Results 1 to 2 of 2

Thread: Mask Properties

  1. #1
    Join Date
    Dec 1969

    Default Mask Properties

    Hi all <BR>How do i have a mask property set to a text box like <BR>I wanted to Have a text box to be shown as - - so that i can enter a value of 2000-00-0000 <BR>can anybody help <BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default It depends...

    on how *interactive* you want to make it.<BR><BR>The simplest way would be to set the initial Text property of the Textbox to " - - " and then attach a RegularExpressionValidator to the control to match the pattern you are trying to enforce.<BR><BR>I&#039;d also attach a client-side onBlur handler (javascript) that checks what the user has entered and displays a message and resets the field if an incorrect value is entered.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts