Tuesday 9 December 2008

ASP.NET Ajax: UpdatePanel and ValidationSummary / ValildationGroup

Hmm.

Think there may be an issue with Microsoft ASP.NET Ajax when using Validator controls and ValidationSummary inside an UpdatePanel, with ValidationGroup set on the controls/validators/ValidationSummary.

It appears that in some particular circumstances, the clientside validation doesn't fire, essentially preventing any link or button with CausesValidation = true from triggering a postback.

Going to investigate further now that I have fixed the immediate issue, and produce a test page to prove/disprove this - if anything useful emerges from this I will post again here, as well as on our corporate web development blog.

0 comments: