ValidationSummary for validators in User Controls

Discussion in 'ASP .Net' started by MattB, Feb 3, 2006.

  1. MattB

    MattB Guest

    I have a (asp.net 1.1) page that loads a bunch of user controls based on
    some database data.
    The User Controls have input controls and associated validators on them,
    and I wanted to place a validation summary at the bottom of the page.

    First thing I tried was making the ValidationSummary into a User
    Control, but it wouldn't display anything when the validators (with "*"
    for the text, and an ErrorMessage entered).

    So I figured I'd just need to place the ValidationSummary right on the
    page, but I still get nothing in it when the validators fire.

    Is there anything I can do to fix this? I imagine it has to do with the
    validators being in User Controls, which I can't really change at this
    point. Thanks!

    Matt
    MattB, Feb 3, 2006
    #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. Ratman
    Replies:
    0
    Views:
    657
    Ratman
    Sep 14, 2004
  2. Ken Varn

    Multiple ValidationSummary controls.

    Ken Varn, Mar 29, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    5,506
    Peter Blum
    Mar 30, 2005
  3. NuB

    validationSummary controls

    NuB, Dec 20, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    658
  4. Phl
    Replies:
    0
    Views:
    116
  5. Steve Nobody

    ValidationSummary will not display dynamic validators.

    Steve Nobody, Feb 19, 2010, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    1,082
    Steve Nobody
    Feb 19, 2010
Loading...

Share This Page