ASP.NEt MVC 2 Client validation function in Ajax form

Posted by user295541 on Stack Overflow See other posts from Stack Overflow or by user295541
Published on 2010-03-21T11:32:55Z Indexed on 2010/03/21 11:41 UTC
Read the original article Hit count: 546

Filed under:

Hello,

My problem is the following:

I'm using client validation function of the MVC 2.0 framework.

Everything is nice, when I use the validation in a simple form.

But when I use an Ajax form, and I update the fields of the ajax form. After the client validation dosen't work.

Exactly: the ajax postback is not fired, but the validation message is not shown.

I think about, I have to refresh the validation after the ajax call but I dont know how I should do it.

Anybody can help me?

© Stack Overflow or respective owner

Related posts about asp.net-mvc