Tuesday, September 1, 2009

Disable all validation in a Page

In some scenario's you want to disable all the validation in your page.

You could set the CauseValidation property of the buttons causing postbacks.

But what I did was loop through all the Page Validators and disable them.

Here is a codesnippet.

A small tip, but hope it helps.

No comments:

Post a Comment