This project is read-only.

I can't seem to get to work xVal in MVC 2 preview 2

Nov 10, 2009 at 9:11 AM

HI all,

I can't seem to get xVal working with MVC 2 preview 2. I fallowed everything to the letter in ant still have problems. Even tried to use the latest source code. xVal seems to work just fine in MVC 1.0 but problems occur in the latest version. The error I am getting is something like this:

"error CS1026: ) expected d:\bugging\...\Views\Home\Test.aspx(45,55): error CS1525: Invalid expression term ')'" I don't have any clue what to do next.

Help would be much apreciated

Nov 10, 2009 at 11:07 AM


MVC 2 has a xVal alternative built in.

Scott Gu has some notes on it in this blog post.

hanks, Mark

Nov 10, 2009 at 11:29 AM

yes but I like the remote validation feature in xVal that isn't in the current release of MVC 2 preview 2. Guess I will use the validation given and when they add the rest of the features of xVal I will use it.