Glenn Block

Sponsors

The Lounge

Wicked Cool Jobs

News

  • View Glenn Block's profile on LinkedIn

    Me

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Tweaking the WCSF Validation Bundle

Jarod has a nice post where he demonstrates how to reduce the number of postbacks that occur when using the ServerSideValidationExtender included as part of the Validation Bundle.

Jarod demonstrates how to subclass the PropertyProxyValidator and override the EvaluateIsValid() method to not validate on a full postback. He then shows how to modify the ServerSideValidationExtender so that it tracks the current value for the associated control and only re-runs the validation if the value has changed. 

If you are using the Validation bundle and you are experiencing too many postbacks, then check out his fix. Jarod's even dropped the full source with his fixes applied.

Thanks Jarod!


Posted Wed, Jan 30 2008 10:26 PM by Glenn Block

[Advertisement]

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Devlicio.us