ASP.NET Validator Controls Slowing Down Page
- by Calvin Nguyen
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