<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>xVal (deprecated)</title><link>http://xval.codeplex.com/project/feeds/rss</link><description>xVal is a validation framework for ASP.NET MVC applications. It makes it easy to link up your choice of server-side validation mechanism with your choice of client-side validation library, neatly fitting both into ASP.NET MVC architecture and conventions.</description><item><title>Reviewed: Version 1.0 (mar. 10, 2011)</title><link>http://xval.codeplex.com/releases/view/33155#ReviewBy-o</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - this is far better than what microsoft has to offer, too bad it&amp;#39;s deprecated</description><author>o</author><pubDate>Thu, 10 Mar 2011 09:21:07 GMT</pubDate><guid isPermaLink="false">Reviewed: Version 1.0 (mar. 10, 2011) 20110310092107A</guid></item><item><title>New Post: Does xVal handle embeded objects?</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=233160</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Never mind, looks like the party is over before I have a chance.&lt;/p&gt;
&lt;/div&gt;</description><author>whoever</author><pubDate>Wed, 03 Nov 2010 02:23:41 GMT</pubDate><guid isPermaLink="false">New Post: Does xVal handle embeded objects? 20101103022341A</guid></item><item><title>New Post: Does xVal handle embeded objects?</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=233160</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Like User has a list of Credit Cards and each card has a billing Address.&amp;nbsp; And a valid user must have a name, at least one card and with valid zip code?&amp;nbsp; Seems no examples mentions that?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;/div&gt;</description><author>whoever</author><pubDate>Tue, 02 Nov 2010 13:51:22 GMT</pubDate><guid isPermaLink="false">New Post: Does xVal handle embeded objects? 20101102015122P</guid></item><item><title>Updated Wiki: Home</title><link>http://xval.codeplex.com/wikipage?version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;&lt;span style="color:#ff0000"&gt;Important: xVal is recommended for use only with ASP.NET MVC 1.0&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;&lt;span style="color:#ff0000"&gt;&lt;strong&gt;If you're using ASP.NET MVC 2.0 or later, the framework has built-in support for generating client-side validation logic directly from model metadata. You can still use xVal if you wish, but it won't be actively developed
 or supported.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Project Description&lt;/h1&gt;
&lt;p&gt;xVal is a validation framework for ASP.NET MVC applications. It makes it easy to link up your choice of server-side validation mechanism with your choice of client-side validation library, neatly fitting both into ASP.NET MVC architecture and conventions.&lt;/p&gt;
&lt;h1&gt;Features&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Define your validation rules using attributes&lt;/strong&gt; on model properties, e.g.,
&lt;/li&gt;&lt;/ul&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;[Required] [StringLength(50)] &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; Name { &lt;span style="color:blue"&gt;get&lt;/span&gt;; &lt;span style="color:blue"&gt;set&lt;/span&gt;; }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;(Or, if you prefer, you can supply rules programatically or you can just hard-code them in specific views)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Designed to fit into ASP.NET MVC conventions&lt;/strong&gt; for handling form posts and storing and retrieving error information in ModelState
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Use your choice of server-side validation framework&lt;/strong&gt;. Out of the box, xVal lets you use .NET 3.5's built-in
&lt;a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.aspx"&gt;
DataAnnotations&lt;/a&gt; classes or &lt;a href="http://erichauser.net/2008/08/28/castle-validator-enhancements/"&gt;
Castle Validator&lt;/a&gt; (or both). If you want to use something different, you can create your own provider just by implementing IRulesProvider.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Use your choice of client-side validation library&lt;/strong&gt;. Out of the box, xVal lets you use
&lt;a href="http://docs.jquery.com/Plugins/Validation"&gt;jQuery Validation&lt;/a&gt; or ASP.NET's native client-side validation library (a.k.a. WebUIValidation.js, as used by WebForms). Or, use any other client-side validation library by writing a plug-in to configure
 it using xVal's standard JSON rules description format. &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Supports localized error messages&lt;/strong&gt; using resource files. Vary the language of your validation messages according to the current thread's culture.
&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Add custom validation logic&lt;/strong&gt; that runs both on the server and on the client, either by subclassing an existing rule or by referencing a custom JavaScript function
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;img src="http://blog.codeville.net/wp-content/uploads/2009/01/image-thumb.png" alt=""&gt;&lt;/p&gt;
&lt;h1&gt;How to use xVal&lt;/h1&gt;
&lt;p&gt;For more information, and to see a quick tutorial, see &lt;a href="http://blog.codeville.net/2009/01/10/xval-a-validation-framework-for-aspnet-mvc/"&gt;
this blog post&lt;/a&gt;. Further enhancements are planned &lt;a href="/wikipage?title=To%20Do&amp;referringTitle=Home"&gt;
To Do&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>SteveSanderson</author><pubDate>Mon, 01 Nov 2010 18:12:25 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20101101061225P</guid></item><item><title>New Post: does this work with VS2010 released?</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=229411</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Try to check it out here.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.google.com/p/productinfo/source/browse/trunk/src/ProductInfoMVC/Scripts/MicrosoftMvcJQueryValidation.js?spec=svn10&amp;r=10"&gt;http://code.google.com/p/productinfo/source/browse/trunk/src/ProductInfoMVC/Scripts/MicrosoftMvcJQueryValidation.js?spec=svn10&amp;amp;r=10&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>minkbear</author><pubDate>Fri, 29 Oct 2010 18:43:39 GMT</pubDate><guid isPermaLink="false">New Post: does this work with VS2010 released? 20101029064339P</guid></item><item><title>New Post: Does xVal need data annotations on the model?</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=229507</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Does xVal only work with data annotations? Is is possible to keep my domain entities clean of validation annotations? I see the following:&lt;br&gt;&lt;br&gt;&amp;quot;you can also write your own IRulesProvider to attach rules programmatically or using any other .NET validation framework.: but have not seen any implemtation of this.&lt;br&gt;&lt;br&gt;I have been working with FluentValidation which allows you to abstract the validation like:&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;div style="color:black;background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; Person

{
     &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;string&lt;/span&gt; Name {&lt;span style="color:blue"&gt;get&lt;/span&gt;;&lt;span style="color:blue"&gt;set&lt;/span&gt;;}
}

&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; PersonValidator: AbstractValidator&amp;lt;Person&amp;gt;
    {
        &lt;span style="color:blue"&gt;public&lt;/span&gt; PersonValidator()
        {
            RuleFor(x =&amp;gt; x.Name).NotEmpty().Length(2);
        }
}

ValidationResult result = Person.Validate(&lt;span style="color:blue"&gt;new&lt;/span&gt; PersonValidator());&lt;br&gt;&lt;br&gt;I want to try and keep my domain model free from a lot of annotations. Is something similar possible with xVal?&lt;br&gt;&lt;br&gt;Cheers&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>EvilRabbit</author><pubDate>Mon, 04 Oct 2010 08:11:08 GMT</pubDate><guid isPermaLink="false">New Post: Does xVal need data annotations on the model? 20101004081108A</guid></item><item><title>New Post: does this work with VS2010 released?</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=229411</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I've seen a lot of references to xVal and ClientSideValidation in the various forums on the net. When I try to use the approach without xVal (i.e., use&lt;/p&gt;
&lt;div style="color:black;background-color:white"&gt;
&lt;pre&gt;&amp;lt;script src=&lt;span style="color:#a31515"&gt;&amp;quot;../../Scripts/MicrosoftMvcJQueryValidation.js&amp;quot;&lt;/span&gt; type=&lt;span style="color:#a31515"&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/script&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;I cannot find MicrosoftMvcJQueryValidation.js anywhere.&lt;/p&gt;
&lt;p&gt;So then I searched more and found references to xVal&lt;/p&gt;
&lt;p&gt;But the last discussion is back in 2009 so I'm wondering if this even applies to VS2010.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Consolas;color:#006400;font-size:x-small"&gt;&lt;span style="font-family:Consolas;color:#006400;font-size:x-small"&gt;&lt;span style="font-family:Consolas;color:#006400;font-size:x-small"&gt;
&lt;div style="color:black;background-color:white"&gt;
&lt;div style="color:black;background-color:white"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>n8nt</author><pubDate>Sat, 02 Oct 2010 15:35:41 GMT</pubDate><guid isPermaLink="false">New Post: does this work with VS2010 released? 20101002033541P</guid></item><item><title>New Post: xVal Custom Rules on empty form fields</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=69466</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks &lt;a id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl02_UserNameLink" href="http://www.codeplex.com/site/users/view/stile1201"&gt;stile1201&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;I wasted about 2 hours trying to figure out why it wasn't firing :(&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>patriciav</author><pubDate>Wed, 29 Sep 2010 17:35:41 GMT</pubDate><guid isPermaLink="false">New Post: xVal Custom Rules on empty form fields 20100929053541P</guid></item><item><title>Reviewed: Version 1.0 (sep. 02, 2010)</title><link>http://xval.codeplex.com/releases/view/33155#ReviewBy-o</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - this is far better than what microsoft has to offer</description><author>o</author><pubDate>Thu, 02 Sep 2010 07:41:09 GMT</pubDate><guid isPermaLink="false">Reviewed: Version 1.0 (sep. 02, 2010) 20100902074109A</guid></item><item><title>Created Issue: Specific version of System.Web.Mvc set to true causes unit test failures [5381]</title><link>http://xval.codeplex.com/workitem/5381</link><description>A bunch of my unit tests started failing when I added xVal to my MVC2 application. The unit test failures started when I added a using statement of &amp;#34;xVal.ServerSide&amp;#34; so that I could catch RulesExceptions. The error message was&amp;#58;&lt;br /&gt;&lt;br /&gt;System.IO.FileLoadException&amp;#58; Could not load file or assembly &amp;#39;System.Web.Mvc, Version&amp;#61;1.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;31bf3856ad364e35&amp;#39; or one of its dependencies. The located assembly&amp;#39;s manifest definition does not match the assembly reference. &amp;#40;Exception from HRESULT&amp;#58; 0x80131040&amp;#41;&lt;br /&gt;&lt;br /&gt;After poking around, I realized that I didn&amp;#39;t have MVC1 installed and that the issue had to be with xVal. The ironic part was that it would not throw the error when debugging the web application, but it would fail in the unit tests. I recompiled the xVal project with specific version set to false on the System.Web.Mvc and all my problems disappeared.&lt;br /&gt;</description><author>MikeAlonso</author><pubDate>Mon, 09 Aug 2010 15:58:52 GMT</pubDate><guid isPermaLink="false">Created Issue: Specific version of System.Web.Mvc set to true causes unit test failures [5381] 20100809035852P</guid></item><item><title>New Post: Validation Messages displaying immediately before submit</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=220823</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have a page that renders a partial view that contains my form. &amp;nbsp;This partial has more than one form but only one of them has values that need validation. &amp;nbsp;For some reason though whenever I get to this page immediately following a GET request, all of the validation messages are displayed. &amp;nbsp;Has anyone run into this while using xVal in their projects?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards, and thanks in advance&lt;/p&gt;
&lt;p&gt;Michael Reyeros&lt;/p&gt;&lt;/div&gt;</description><author>mreyeros</author><pubDate>Fri, 23 Jul 2010 02:38:40 GMT</pubDate><guid isPermaLink="false">New Post: Validation Messages displaying immediately before submit 20100723023840A</guid></item><item><title>Source code checked in, #49966</title><link>http://xval.codeplex.com/SourceControl/changeset/changes/49966</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Mon, 19 Jul 2010 20:19:27 GMT</pubDate><guid isPermaLink="false">Source code checked in, #49966 20100719081927P</guid></item><item><title>New Post: StringLength validation minimum length not working on client side.</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=61866</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have found / fixed the problem, as described in the &lt;a href="http://xval.codeplex.com/workitem/4756"&gt;following work item&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><author>AndreiR</author><pubDate>Wed, 09 Jun 2010 21:49:54 GMT</pubDate><guid isPermaLink="false">New Post: StringLength validation minimum length not working on client side. 20100609094954P</guid></item><item><title>New Post: xVal and list inputs</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=215024</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;When you have something like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black;background-color:white"&gt;
&lt;pre&gt;                        &lt;span style="background-color:yellow"&gt;&amp;lt;%&lt;/span&gt; for (var i = 0; i &amp;lt; 10; i++ ) { &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;tr&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;td&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.LabelFor(m =&amp;gt; m.DomainTraining[i].Hours) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.CustomTextBoxFor(m =&amp;gt; m.DomainTraining[i].Hours, new { style = &amp;quot;width:50px;&amp;quot; })&lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.ValidationMessageFor(m =&amp;gt; m.DomainTraining[i].Hours)&lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                            &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;td&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;td&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.LabelFor(m =&amp;gt; m.DomainTraining[i].Description) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.CustomTextBoxFor(m =&amp;gt; m.DomainTraining[i].Description) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.ValidationMessageFor(m =&amp;gt; m.DomainTraining[i].Description)&lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                            &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;td&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;td&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.LabelFor(m =&amp;gt; m.DomainTraining[i].CompleteDate) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.CustomTextBoxFor(m =&amp;gt; m.DomainTraining[i].CompleteDate, new { style = &amp;quot;width:150px;&amp;quot; })&lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.ValidationMessageFor(m =&amp;gt; m.DomainTraining[i].CompleteDate)&lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                                &lt;span style="background-color:yellow"&gt;&amp;lt;%=&lt;/span&gt; Html.ClientSideValidation&amp;lt;DomainTraining&amp;gt;(&amp;quot;DomainTraining[&amp;quot; + i + &amp;quot;]&amp;quot;) &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
                            &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;td&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;tr&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                        &lt;span style="background-color:yellow"&gt;&amp;lt;%&lt;/span&gt; } &lt;span style="background-color:yellow"&gt;%&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And you want to attach a client side validation thing to each one (As I tried to do above) it doesn't attach the validator correctly (MVC2). I don't know if this is because of a change in MVC2 or not, but the client side ID of these items would be DomainTraining_x__Hours, etc. xVal attempts to attach it to DomainTraining[x]_Hours, which while that makes sense, is incorrect. The fix would be one line 53 of the library:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black;background-color:white"&gt;
&lt;pre&gt;            &lt;span style="color:blue"&gt;return&lt;/span&gt; fullyQualifiedModelName.replace(/[\.\[\]]/g, &lt;span style="color:#a31515"&gt;&amp;quot;_&amp;quot;&lt;/span&gt;);&lt;br&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;All I did was add the brackets to the RegEx to be replaced by the &amp;quot;_&amp;quot; character. Validators now attach correctly. If there was a reason for this, please advise.&lt;/p&gt;
&lt;p&gt;/ Michael /&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>i8beef</author><pubDate>Fri, 04 Jun 2010 19:53:33 GMT</pubDate><guid isPermaLink="false">New Post: xVal and list inputs 20100604075333P</guid></item><item><title>Patch Uploaded: #6054</title><link>http://xval.codeplex.com/SourceControl/PatchList.aspx</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/wwb'&gt;wwb&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;Patch to build against MVC2. Changes are&amp;#58;&lt;br /&gt;&amp;#42; Updated System.Web.MVC references in xVal, xVal.ClientSidePlugins &amp;#38; xVal.Tests&lt;br /&gt;&amp;#42; Updated xVal.Tests.TestHelpers.HtmlHelperMocks to fix a breaking change in the ViewContext constructor.&lt;br /&gt;&lt;br /&gt;&amp;#91;Yes, I know that xVal is meant to be replaced by the MVC2 validators, but I didn&amp;#39;t have time to rip out that but wanted some other MVC2 features&amp;#93;&lt;/p&gt;</description><author>wwb</author><pubDate>Wed, 02 Jun 2010 14:38:15 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #6054 20100602023815P</guid></item><item><title>Commented Issue: StringLength not enforced client side [4756]</title><link>http://xval.codeplex.com/WorkItem/View.aspx?WorkItemId=4756</link><description>Hi, I am having some hard time getting StringLength to be enforced client side. I guess some javascript is out of sync&amp;#63;&lt;br /&gt;&lt;br /&gt;I am using Visual Studio 2010, ASP.NET MVC 2.0 &amp;#40;final&amp;#41;, created a new MVC web application, created a new user model &amp;#58;&lt;br /&gt;&lt;br /&gt;    public class UserModel&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;RegularExpression&amp;#40;&amp;#64;&amp;#34;&amp;#92;w&amp;#43;&amp;#40;&amp;#91;-&amp;#43;.&amp;#39;&amp;#93;&amp;#92;w&amp;#43;&amp;#41;&amp;#42;&amp;#64;&amp;#92;w&amp;#43;&amp;#40;&amp;#91;-.&amp;#93;&amp;#92;w&amp;#43;&amp;#41;&amp;#42;&amp;#92;.&amp;#92;w&amp;#43;&amp;#40;&amp;#91;-.&amp;#93;&amp;#92;w&amp;#43;&amp;#41;&amp;#42;&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public string EmailAddress &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;StringLength&amp;#40;200, MinimumLength &amp;#61; 6&amp;#41;&amp;#93;&lt;br /&gt;        public string Password &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;An action set &amp;#58;&lt;br /&gt;&lt;br /&gt;        &amp;#91;HttpGet&amp;#93;&lt;br /&gt;        public ViewResult Create&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return View&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#91;HttpPost&amp;#93;&lt;br /&gt;        public ActionResult Create&amp;#40;UserModel user&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;&amp;#33;ModelState.IsValid&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return View&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            else&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return Redirect&amp;#40;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;www.bing.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;Also created a view for this &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;asp&amp;#58;Content ContentPlaceHolderID&amp;#61;&amp;#34;AdditionalHtmlHeaderContent&amp;#34; runat&amp;#61;&amp;#34;server&amp;#34;&amp;#62;&lt;br /&gt;    &amp;#60;script type&amp;#61;&amp;#34;text&amp;#47;javascript&amp;#34; src&amp;#61;&amp;#34;&amp;#60;&amp;#37;&amp;#61; ResolveUrl&amp;#40;&amp;#34;&amp;#126;&amp;#47;Scripts&amp;#47;jquery-1.3.2.js&amp;#34;&amp;#41;&amp;#37;&amp;#62;&amp;#34;&amp;#62;&amp;#60;&amp;#47;script&amp;#62;&lt;br /&gt;    &amp;#60;script type&amp;#61;&amp;#34;text&amp;#47;javascript&amp;#34; src&amp;#61;&amp;#34;&amp;#60;&amp;#37;&amp;#61; ResolveUrl&amp;#40;&amp;#34;&amp;#126;&amp;#47;Scripts&amp;#47;jquery.validate.js&amp;#34;&amp;#41;&amp;#37;&amp;#62;&amp;#34;&amp;#62;&amp;#60;&amp;#47;script&amp;#62;&lt;br /&gt;    &amp;#60;script type&amp;#61;&amp;#34;text&amp;#47;javascript&amp;#34; src&amp;#61;&amp;#34;&amp;#60;&amp;#37;&amp;#61; ResolveUrl&amp;#40;&amp;#34;&amp;#126;&amp;#47;Scripts&amp;#47;xVal.jquery.validate.js&amp;#34;&amp;#41;&amp;#37;&amp;#62;&amp;#34;&amp;#62;&amp;#60;&amp;#47;script&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;&amp;#37;&amp;#61; Html.ClientSideValidation&amp;#60;ConsoleApplication11.Models.UserModel&amp;#62;&amp;#40;&amp;#34;user&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;&amp;#47;asp&amp;#58;Content&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;asp&amp;#58;Content ID&amp;#61;&amp;#34;Content2&amp;#34; ContentPlaceHolderID&amp;#61;&amp;#34;MainContent&amp;#34; runat&amp;#61;&amp;#34;server&amp;#34;&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;h2&amp;#62;ViewPage1&amp;#60;&amp;#47;h2&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;&amp;#37; using &amp;#40;Html.BeginForm&amp;#40;&amp;#41;&amp;#41; &amp;#123;&amp;#37;&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#37;&amp;#58; Html.ValidationSummary&amp;#40;true&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;&lt;br /&gt;        &amp;#60;fieldset&amp;#62;&lt;br /&gt;            &amp;#60;legend&amp;#62;Fields&amp;#60;&amp;#47;legend&amp;#62;&lt;br /&gt;            &lt;br /&gt;            &amp;#60;p&amp;#62;&lt;br /&gt;                Email address &amp;#58; &amp;#60;&amp;#37;&amp;#58; Html.TextBox&amp;#40;&amp;#34;user.EmailAddress&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;                                &amp;#60;&amp;#37;&amp;#58; Html.ValidationMessage&amp;#40;&amp;#34;user.EmailAddress&amp;#34;&amp;#41;&amp;#37;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;            &amp;#60;p&amp;#62;&lt;br /&gt;                Password &amp;#58; &amp;#60;&amp;#37;&amp;#58; Html.Password&amp;#40;&amp;#34;user.Password&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;                           &amp;#60;&amp;#37;&amp;#58; Html.ValidationMessage&amp;#40;&amp;#34;user.Password&amp;#34;&amp;#41;&amp;#37;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;            &lt;br /&gt;            &amp;#60;p&amp;#62;&lt;br /&gt;                &amp;#60;input type&amp;#61;&amp;#34;submit&amp;#34; value&amp;#61;&amp;#34;Create&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#47;fieldset&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;&amp;#37; &amp;#125; &amp;#37;&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;div&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#37;&amp;#58; Html.ActionLink&amp;#40;&amp;#34;Back to List&amp;#34;, &amp;#34;Index&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;    &amp;#60;&amp;#47;div&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;&amp;#47;asp&amp;#58;Content&amp;#62;&lt;br /&gt;&lt;br /&gt;Then I referenced the xVal assembly and added &lt;br /&gt;&lt;br /&gt;        &amp;#60;add namespace&amp;#61;&amp;#34;xVal.Html&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;&lt;br /&gt;in my master Web.config&lt;br /&gt;&lt;br /&gt;Uppon running, in all browsers, all rules are enforced on the client side too, except the StringLength one..&lt;br /&gt;&lt;br /&gt;Environment &amp;#58; &lt;br /&gt;&lt;br /&gt;OS&amp;#58; Windows 7 Enterprise &amp;#40;final&amp;#41; - Microsoft Windows &amp;#91;Version 6.1.7600&amp;#93;&lt;br /&gt;&lt;br /&gt;Browsers tested &amp;#58;&lt;br /&gt;&amp;#42; Internet Explorer 8 &amp;#40;8.0.7600.16385&amp;#41; &amp;#58; Mozilla&amp;#47;4.0 &amp;#40;compatible&amp;#59; MSIE 8.0&amp;#59; Windows NT 6.1&amp;#59; WOW64&amp;#59; Trident&amp;#47;4.0&amp;#59; SLCC2&amp;#59; .NET CLR 2.0.50727&amp;#59; .NET CLR 3.5.30729&amp;#59; .NET CLR 3.0.30729&amp;#59; Media Center PC 6.0&amp;#59; InfoPath.2&amp;#59; .NET4.0C&amp;#59; .NET4.0E&amp;#59; OfficeLiveConnector.1.5&amp;#59; OfficeLivePatch.1.3&amp;#59; Creative AutoUpdate v1.40.01&amp;#41;&lt;br /&gt;&amp;#42; Opera 10.53 &amp;#58; Opera&amp;#47;9.80 &amp;#40;Windows NT 6.1&amp;#59; U&amp;#59; en&amp;#41; Presto&amp;#47;2.5.24 Version&amp;#47;10.53&lt;br /&gt;&lt;br /&gt;.NET Framework Version &amp;#58; 4.0&lt;br /&gt;&lt;br /&gt;jQuery versions used &amp;#58;&lt;br /&gt;&amp;#42; 1.3.6&lt;br /&gt;&amp;#42; 1.4.1&lt;br /&gt;&lt;br /&gt;I am attaching the test project&lt;br /&gt;Comments: ** Comment from web user: andreir ** &lt;p&gt;I have found the problem. &lt;/p&gt;&lt;p&gt;The xVal assembly was compiled against the .NET 3.5 and the StringLengthAttribute class &amp;#42;DOES NOT&amp;#42; have a MinimumLength property at all. That&amp;#39;s why in the DataAnnotationsRuleProvider.cs &amp;#40;xVal&amp;#92;RuleProviders&amp;#92;DataAnnotationsRuleProvider.cs&amp;#41; at line 25 it reads &amp;#58;&lt;/p&gt;&lt;p&gt;ruleEmitters.AddSingle&amp;#60;StringLengthAttribute&amp;#62;&amp;#40;x &amp;#61;&amp;#62; new StringLengthRule&amp;#40;null, x.MaximumLength&amp;#41;&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;see the null&amp;#63; That&amp;#39;s the minimum length parameter.&lt;br /&gt;I&amp;#39;ve targeted the 4.0 .NET Framework, corrected the line, compiled and VOILA&amp;#33; it works..&lt;/p&gt;&lt;p&gt;It was not Steve&amp;#39;s fault. At least not Sanderson &amp;#59;&amp;#41;&lt;/p&gt;</description><author>andreir</author><pubDate>Thu, 27 May 2010 19:42:59 GMT</pubDate><guid isPermaLink="false">Commented Issue: StringLength not enforced client side [4756] 20100527074259P</guid></item><item><title>Created Issue: StringLength not enforced client side [4756]</title><link>http://xval.codeplex.com/WorkItem/View.aspx?WorkItemId=4756</link><description>Hi, I am having some hard time getting StringLength to be enforced client side. I guess some javascript is out of sync&amp;#63;&lt;br /&gt;&lt;br /&gt;I am using Visual Studio 2010, ASP.NET MVC 2.0 &amp;#40;final&amp;#41;, created a new MVC web application, created a new user model &amp;#58;&lt;br /&gt;&lt;br /&gt;    public class UserModel&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;RegularExpression&amp;#40;&amp;#64;&amp;#34;&amp;#92;w&amp;#43;&amp;#40;&amp;#91;-&amp;#43;.&amp;#39;&amp;#93;&amp;#92;w&amp;#43;&amp;#41;&amp;#42;&amp;#64;&amp;#92;w&amp;#43;&amp;#40;&amp;#91;-.&amp;#93;&amp;#92;w&amp;#43;&amp;#41;&amp;#42;&amp;#92;.&amp;#92;w&amp;#43;&amp;#40;&amp;#91;-.&amp;#93;&amp;#92;w&amp;#43;&amp;#41;&amp;#42;&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public string EmailAddress &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;StringLength&amp;#40;200, MinimumLength &amp;#61; 6&amp;#41;&amp;#93;&lt;br /&gt;        public string Password &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;An action set &amp;#58;&lt;br /&gt;&lt;br /&gt;        &amp;#91;HttpGet&amp;#93;&lt;br /&gt;        public ViewResult Create&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            return View&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        &amp;#91;HttpPost&amp;#93;&lt;br /&gt;        public ActionResult Create&amp;#40;UserModel user&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;&amp;#33;ModelState.IsValid&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return View&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            else&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return Redirect&amp;#40;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;www.bing.com&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;Also created a view for this &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#60;asp&amp;#58;Content ContentPlaceHolderID&amp;#61;&amp;#34;AdditionalHtmlHeaderContent&amp;#34; runat&amp;#61;&amp;#34;server&amp;#34;&amp;#62;&lt;br /&gt;    &amp;#60;script type&amp;#61;&amp;#34;text&amp;#47;javascript&amp;#34; src&amp;#61;&amp;#34;&amp;#60;&amp;#37;&amp;#61; ResolveUrl&amp;#40;&amp;#34;&amp;#126;&amp;#47;Scripts&amp;#47;jquery-1.3.2.js&amp;#34;&amp;#41;&amp;#37;&amp;#62;&amp;#34;&amp;#62;&amp;#60;&amp;#47;script&amp;#62;&lt;br /&gt;    &amp;#60;script type&amp;#61;&amp;#34;text&amp;#47;javascript&amp;#34; src&amp;#61;&amp;#34;&amp;#60;&amp;#37;&amp;#61; ResolveUrl&amp;#40;&amp;#34;&amp;#126;&amp;#47;Scripts&amp;#47;jquery.validate.js&amp;#34;&amp;#41;&amp;#37;&amp;#62;&amp;#34;&amp;#62;&amp;#60;&amp;#47;script&amp;#62;&lt;br /&gt;    &amp;#60;script type&amp;#61;&amp;#34;text&amp;#47;javascript&amp;#34; src&amp;#61;&amp;#34;&amp;#60;&amp;#37;&amp;#61; ResolveUrl&amp;#40;&amp;#34;&amp;#126;&amp;#47;Scripts&amp;#47;xVal.jquery.validate.js&amp;#34;&amp;#41;&amp;#37;&amp;#62;&amp;#34;&amp;#62;&amp;#60;&amp;#47;script&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;&amp;#37;&amp;#61; Html.ClientSideValidation&amp;#60;ConsoleApplication11.Models.UserModel&amp;#62;&amp;#40;&amp;#34;user&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;&amp;#47;asp&amp;#58;Content&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;asp&amp;#58;Content ID&amp;#61;&amp;#34;Content2&amp;#34; ContentPlaceHolderID&amp;#61;&amp;#34;MainContent&amp;#34; runat&amp;#61;&amp;#34;server&amp;#34;&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;h2&amp;#62;ViewPage1&amp;#60;&amp;#47;h2&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;&amp;#37; using &amp;#40;Html.BeginForm&amp;#40;&amp;#41;&amp;#41; &amp;#123;&amp;#37;&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#37;&amp;#58; Html.ValidationSummary&amp;#40;true&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;&lt;br /&gt;        &amp;#60;fieldset&amp;#62;&lt;br /&gt;            &amp;#60;legend&amp;#62;Fields&amp;#60;&amp;#47;legend&amp;#62;&lt;br /&gt;            &lt;br /&gt;            &amp;#60;p&amp;#62;&lt;br /&gt;                Email address &amp;#58; &amp;#60;&amp;#37;&amp;#58; Html.TextBox&amp;#40;&amp;#34;user.EmailAddress&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;                                &amp;#60;&amp;#37;&amp;#58; Html.ValidationMessage&amp;#40;&amp;#34;user.EmailAddress&amp;#34;&amp;#41;&amp;#37;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;            &amp;#60;p&amp;#62;&lt;br /&gt;                Password &amp;#58; &amp;#60;&amp;#37;&amp;#58; Html.Password&amp;#40;&amp;#34;user.Password&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;                           &amp;#60;&amp;#37;&amp;#58; Html.ValidationMessage&amp;#40;&amp;#34;user.Password&amp;#34;&amp;#41;&amp;#37;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;            &lt;br /&gt;            &amp;#60;p&amp;#62;&lt;br /&gt;                &amp;#60;input type&amp;#61;&amp;#34;submit&amp;#34; value&amp;#61;&amp;#34;Create&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;            &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#47;fieldset&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;&amp;#37; &amp;#125; &amp;#37;&amp;#62;&lt;br /&gt;&lt;br /&gt;    &amp;#60;div&amp;#62;&lt;br /&gt;        &amp;#60;&amp;#37;&amp;#58; Html.ActionLink&amp;#40;&amp;#34;Back to List&amp;#34;, &amp;#34;Index&amp;#34;&amp;#41; &amp;#37;&amp;#62;&lt;br /&gt;    &amp;#60;&amp;#47;div&amp;#62;&lt;br /&gt;&lt;br /&gt;&amp;#60;&amp;#47;asp&amp;#58;Content&amp;#62;&lt;br /&gt;&lt;br /&gt;Then I referenced the xVal assembly and added &lt;br /&gt;&lt;br /&gt;        &amp;#60;add namespace&amp;#61;&amp;#34;xVal.Html&amp;#34;&amp;#47;&amp;#62;&lt;br /&gt;&lt;br /&gt;in my master Web.config&lt;br /&gt;&lt;br /&gt;Uppon running, in all browsers, all rules are enforced on the client side too, except the StringLength one..&lt;br /&gt;&lt;br /&gt;Environment &amp;#58; &lt;br /&gt;&lt;br /&gt;OS&amp;#58; Windows 7 Enterprise &amp;#40;final&amp;#41; - Microsoft Windows &amp;#91;Version 6.1.7600&amp;#93;&lt;br /&gt;&lt;br /&gt;Browsers tested &amp;#58;&lt;br /&gt;&amp;#42; Internet Explorer 8 &amp;#40;8.0.7600.16385&amp;#41; &amp;#58; Mozilla&amp;#47;4.0 &amp;#40;compatible&amp;#59; MSIE 8.0&amp;#59; Windows NT 6.1&amp;#59; WOW64&amp;#59; Trident&amp;#47;4.0&amp;#59; SLCC2&amp;#59; .NET CLR 2.0.50727&amp;#59; .NET CLR 3.5.30729&amp;#59; .NET CLR 3.0.30729&amp;#59; Media Center PC 6.0&amp;#59; InfoPath.2&amp;#59; .NET4.0C&amp;#59; .NET4.0E&amp;#59; OfficeLiveConnector.1.5&amp;#59; OfficeLivePatch.1.3&amp;#59; Creative AutoUpdate v1.40.01&amp;#41;&lt;br /&gt;&amp;#42; Opera 10.53 &amp;#58; Opera&amp;#47;9.80 &amp;#40;Windows NT 6.1&amp;#59; U&amp;#59; en&amp;#41; Presto&amp;#47;2.5.24 Version&amp;#47;10.53&lt;br /&gt;&lt;br /&gt;.NET Framework Version &amp;#58; 4.0&lt;br /&gt;&lt;br /&gt;jQuery versions used &amp;#58;&lt;br /&gt;&amp;#42; 1.3.6&lt;br /&gt;&amp;#42; 1.4.1&lt;br /&gt;&lt;br /&gt;I am attaching the test project&lt;br /&gt;</description><author>andreir</author><pubDate>Thu, 27 May 2010 08:44:58 GMT</pubDate><guid isPermaLink="false">Created Issue: StringLength not enforced client side [4756] 20100527084458A</guid></item><item><title>New Post: Multiple Row Validation on Field</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=76703</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;using FluentValidator is probably your best bet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>bm3chaser</author><pubDate>Wed, 26 May 2010 12:28:31 GMT</pubDate><guid isPermaLink="false">New Post: Multiple Row Validation on Field 20100526122831P</guid></item><item><title>New Post: Validating two elements (e.g. Dropdown and Textbox)</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=74248</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;i would also like a solution to this problem, this has been the main issue with dataannotation for me and for anyone doing real world mvc stuff (and not just those pretty (easy) the world is non-complex and simple examples we get shown by the product evangelists).&lt;/p&gt;
&lt;p&gt;currently i am using fluent validation which is able&amp;nbsp;to do this, but am not entirely happy with it, so my decision to move to xval/castle would be contingent on being able to do something like this in an elegent manner, as FluentValidator allows me to (it is great on that end).&lt;/p&gt;&lt;/div&gt;</description><author>bm3chaser</author><pubDate>Wed, 26 May 2010 12:22:06 GMT</pubDate><guid isPermaLink="false">New Post: Validating two elements (e.g. Dropdown and Textbox) 20100526122206P</guid></item><item><title>New Post: StringLength validation minimum length not working on client side.</title><link>http://xval.codeplex.com/Thread/View.aspx?ThreadId=61866</link><description>&lt;div style="line-height: normal;"&gt;&lt;blockquote style="border:solid .1em #ccc;font-style:italic;margin:.25em 1em 0 1em;padding:0 .25em 0 .25em"&gt;&lt;strong&gt;Galawyn wrote:&lt;/strong&gt;&lt;br&gt;
&lt;p&gt;I have same problem, DataAnnotation + xVal + JQuery&lt;/p&gt;
&lt;p&gt;[StringLength(100, MinimumLength = 10)]&lt;/p&gt;
&lt;p&gt;[Required]&lt;/p&gt;
&lt;p&gt;public virtual String Test { get; set; }&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;I do have this problem but only on IE 8. On Opera 9, Firefox 3.6, Safari 4 and Chrome 4.&lt;/p&gt;
&lt;p&gt;Btw, having the default example crashes IE 8 / Win 7 (64 bit), latest patches (OS + browser).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It's the&amp;nbsp;BookingsDemo, you know it very well Steve. I just added a&amp;nbsp;[StringLength(5)] on&amp;nbsp;DomainModel.Entities.Booking's&amp;nbsp;Name property.&lt;/p&gt;&lt;/div&gt;</description><author>AndreiR</author><pubDate>Tue, 25 May 2010 22:49:36 GMT</pubDate><guid isPermaLink="false">New Post: StringLength validation minimum length not working on client side. 20100525104936P</guid></item></channel></rss>
