Validation before or after CreateChildControls

Discussion in 'ASP .Net Web Controls' started by paul.hester@gmail.com, Sep 15, 2006.

  1. Guest

    Hi all,

    I have a composite control which is basically a wrapper control for
    child controls and validators. It's a little hacky, but I could
    previously check from its child validators to see whether the child
    controls have passed validation to determine the colors and images to
    display.

    This was working perfectly previously, but now it appears that
    validation is occuring after CreateChildControls. I don't know what I
    changed to break this, but it makes the display logic for the custom
    container control a lot more complicated.

    Do any of you know how to ensure that CreateChildControls occurs after
    validation? I've tried calling Page.Validate() separately, but that
    appears to require CreateChildControls to complete.

    Thanks,

    Paul
     
    , Sep 15, 2006
    #1
    1. Advertisements

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. Lucas Tam
    Replies:
    1
    Views:
    921
    John Saunders
    Aug 17, 2003
  2. Arulraja
    Replies:
    3
    Views:
    1,565
    William F. Robertson, Jr.
    Oct 17, 2003
  3. Ferret
    Replies:
    3
    Views:
    5,693
    John Saunders
    Dec 3, 2004
  4. Paul
    Replies:
    0
    Views:
    639
  5. Mark Sisson

    CreateChildControls Event before Click Event

    Mark Sisson, Jul 17, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    565
    Victor Garcia Aprea [MVP]
    Jul 17, 2003
  6. Validation before or after CreateChildControls

    , Sep 15, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    188
  7. Chris

    Handling server side events before CreateChildControls

    Chris, Feb 22, 2008, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    962
    Chris
    Feb 22, 2008
  8. Mark Sisson

    CreateChildControls Event before Click Event

    Mark Sisson, Jul 17, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    373
    Victor Garcia Aprea [MVP]
    Jul 17, 2003
Loading...