The Pavement
Web Design and Application Develop

Validation Summary Control Not Playing Nicely With Ajax

July 19, 2007 13:26 by Shaun

Today I’ve been having a few problems with the validation summary control when nested within and AJAX UpdatePanel. I have implemented an AJAX.NET Update panel on my master page wrapping all content that falls within it. When I added a validation summary control to one of the content pages I started to see a javascript error stating “’null’ is null or not an object” which wasn’t particually helpful!

After a bit of googling I came across this article explaining that the old validation controls are not compatible with the new way of registering client side script, the article explains that “WindowsUpdate will soon include a version of System.Web that can take advantage of the new APIs” however I’m yet to see this update appear! There is a link to some custom validator controls that work with partial rendering but I was not keen on changing the page so I looked for an alternative..

I eventually came across Microsoft’s Pilot program for downloadable hot fixes, the issue can be resolved easily by downloading and installing the following fix:

http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=6106

Hope this helps..

Tags: Tags: , ,
Categories: .NET
Actions: E-mail | Permalink | Comments (2) | Comment RSSRSS comment feed

Related posts

Comments

July 27. 2007 04:05

Gravatar

i0-09ujoij oijio oi

joi

November 1. 2007 00:29

Gravatar

HitheHot Fix for Microsoft Knowledge Base article number(s) 933383, 934839

Knowledge Base Article
======================
To view the contents of the knowledge base article for this update, visit
http://support.microsoft.com/?kbid=933383" rel="nofollow">http://support.microsoft.com/?kbid=933383, 934839 directly, or
visit http://support.microsoft.com and query the Knowledge base
for the product and the KB number of this update.

sahridhayan

Add comment


(Will show your Gravatar icon)  

  Country flag




Live preview

July 4. 2008 14:04

Gravatar