Results 1 to 2 of 2

Thread: Confused with Custom Validation

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    110

    Confused with Custom Validation

    I have got four different Custom Validator controls on my page.

    Each one's ServerValidate event is called on the click of four different buttons in which i do assign the args.isValid = True/False accordingly.

    But whenever i click any button all four ServerValidate event is called. Anyway I have put the whole code inside (If Page.isValid = True Then).

    But each button doesnt call its own Validator's event. All four are called in the same sequence.

    Pls suggest.

    Thanks
    Anis Bombaywala

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    If a controls validator events will be called at the same time if it has multiple validators, because it loops through the validators assigned to the control.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width