Results 1 to 2 of 2

Thread: Button Server Control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Posts
    65

    Button Server Control

    Hi,

    Do you know how to create a cancel button on the form that contains validator controls? I have a form with two buttons Submit and Cancel. But when I click cancel button the validator controls always fire their event. Coould you please tell me how to resolve this problem?

    Thanks in advances,

    Trung Luu

  2. #2
    Addicted Member Dmyze's Avatar
    Join Date
    Mar 2002
    Location
    Seattle
    Posts
    160
    I think your going to have to use Custom Validators. Design the VB/Java Script to detect if they hit the cancel button or not. I don't think you could use a required field validator with that solution.
    -Daryl
    "Two More Rolls of Duct tape, and the world is mine!"
    VB.NET Guru

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