Validation on custom controls

Discussion in 'ASP .Net Building Controls' started by msnews.microsoft.com, Jul 18, 2003.

  1. Hi,

    I searched through NG's etc but could not find an answer to my problem.....

    I have a custom control that consists of 3 textboxes. I would like to add a
    validator on it.
    The validator should check the contents (CustomValidator) and availabily
    (RequiredValidator) of text in all 3 textboxes

    The problem is that with the "ValidationPropertyAttribute" I can set only
    one of the properties of the control (e.g. one of the text boxes).

    How can I overcome this problem?

    Thanks in advance
    Oran
     
    msnews.microsoft.com, Jul 18, 2003
    #1
    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.