ASP.NET Validator Controls Slowing Down Page

Posted by Calvin Nguyen on Stack Overflow See other posts from Stack Overflow or by Calvin Nguyen
Published on 2010-03-11T21:01:50Z Indexed on 2010/03/11 21:04 UTC
Read the original article Hit count: 439

Filed under:
|
|
|
|

Hi all,

I have an UpdatePanel that has user controls dynamically added to it. There can be a few dozen user controls at times.

The page / UpdatePanel slows down big time on each postback as more user controls are added. After some digging, I was surprised to find the cause is the various CompareValidator, CustomValidator, RegularExpressionValidator and RequiredFieldValidator controls that exist on each user control.

Dose anyone have suggestions? It strikes me as very peculiar that inclusion of these ASP.NET controls could have such a horrible effect on performance.

Thanks,

Calvin

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about validator