Results 1 to 2 of 2

Thread: Prevent validation when clicking "Cancel" button [resolved]

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Prevent validation when clicking "Cancel" button [resolved]

    I have some client-side validation of some textboxes going on, in a page. It's working fine, but I would like it not to run when I click the cancel button. When clicking cancel, I simply want it to Response.Redirect to another page.

    How shalll I do this?

  2. #2

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Prevent validation when clicking "Cancel" button

    Never mind, set the CauseValidation property to false.

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