Conditional Validation

Results 1 to 2 of 2

Thread: Conditional Validation

  1. #1
    Join Date
    Dec 1969

    Default Conditional Validation

    Hi all, <BR><BR>I have a datagrid in edit mode. If a particular option in a radiobuttonlist is selected when the user clicks the update link, I don&#039;t want validation to occur on the form controls. If another option is selected, I DO want validation to occur. Validation always occurs no matter what I try when the user clicks the update link. <BR><BR>Help please. <BR><BR>Cheers, <BR>David

  2. #2
    Join Date
    Dec 1969

    Default RE: Conditional Validation

    Disable the client side validation. EnableClientScript = False<BR><BR>Set the ErrorMessage on click you set it to "my error message" if you want to see it or to "" if you dont&#039; want to see it. You will be validating server side only.

Posting Permissions

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