Dynamically change the regular expression in RegularExpressionValidator?

Discussion in 'ASP .Net' started by BH, Aug 5, 2003.

  1. BH

    BH Guest

    I have a textbox allows user to enter either an integer number or a string
    based on the values from two radio boxes (e.g. search by ID, or search by
    name). Is there a way to change the regular expression in the
    RegularExpressionValidator that validates user input in the textbox based on
    which radio box is selected? I'm looking for a way to perform the
    validation on the client side in IE.

    Thanks
    BH, Aug 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VSK
    Replies:
    2
    Views:
    2,290
  2. John
    Replies:
    5
    Views:
    448
    Alexey Smirnov
    Feb 19, 2007
  3. Replies:
    1
    Views:
    1,265
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Feb 25, 2007
  4. Eric Layman
    Replies:
    2
    Views:
    454
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Mar 28, 2007
  5. Paulo Reichert

    Regular expressions with the RegularExpressionValidator

    Paulo Reichert, Oct 21, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    125
    Paulo Reichert
    Oct 21, 2003
Loading...

Share This Page