Validator disabled

Discussion in 'ASP .Net' started by tshad, Jun 20, 2005.

  1. tshad

    tshad Guest

    I have a RequiredValidator on my page.

    I only want it to be required in some instances.

    Can I control this with the enabled attribute?


    tshad, Jun 20, 2005
    1. Advertisements

  2. tshad

    Scott Allen Guest

    Yes, the Enabled property will turn the validator on / off.
    Scott Allen, Jun 21, 2005
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.