<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>foolproof Issue Tracker Rss Feed</title><link>http://foolproof.codeplex.com/WorkItem/List.aspx</link><description>foolproof Issue Tracker Rss Description</description><item><title>Commented Issue: Could not load file or assembly System.Web.Mvc, Version=2.0.0.0 during unit test [18815]</title><link>http://foolproof.codeplex.com/workitem/18815</link><description>I get the following exception when trying to run an NUnit test to verify AutoMappers configuration. I don&amp;#39;t know why its looking for MVC 2.0&amp;#63; I am using MVC 4.0.0 dlls in my main app and Foolproof works fine at runtime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Any ideas&amp;#63;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#123;&amp;#123;&lt;br /&gt;System.TypeInitializationException &amp;#58; The type initializer for &amp;#39;Foolproof.ContingentValidationAttribute&amp;#39; threw an exception.&lt;br /&gt;  ----&amp;#62; System.IO.FileLoadException &amp;#58; Could not load file or assembly &amp;#39;System.Web.Mvc, Version&amp;#61;2.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;   at System.Reflection.CustomAttribute._CreateCaObject&amp;#40;RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte&amp;#42;&amp;#42; ppBlob, Byte&amp;#42; pEndBlob, Int32&amp;#42; pcNamedArgs&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.CreateCaObject&amp;#40;RuntimeModule&amp;#160;module,&amp;#160;IRuntimeMethodInfo&amp;#160;ctor,&amp;#160;ref&amp;#160;IntPtr&amp;#160;blob,&amp;#160;IntPtr&amp;#160;blobEnd,&amp;#160;ref&amp;#160;Int32&amp;#160;namedArgs&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.GetCustomAttributes&amp;#40;RuntimeModule&amp;#160;decoratedModule,&amp;#160;Int32&amp;#160;decoratedMetadataToken,&amp;#160;Int32&amp;#160;pcaCount,&amp;#160;RuntimeType&amp;#160;attributeFilterType,&amp;#160;Boolean&amp;#160;mustBeInheritable,&amp;#160;IList&amp;#160;derivedAttributes,&amp;#160;Boolean&amp;#160;isDecoratedTargetSecurityTransparent&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.GetCustomAttributes&amp;#40;RuntimePropertyInfo&amp;#160;property,&amp;#160;RuntimeType&amp;#160;caType&amp;#41;&lt;br /&gt;   at AutoMapper.ConfigurationStore.CreateMappingExpression&amp;#40;TypeMap&amp;#160;typeMap&amp;#41;&lt;br /&gt;   at AutoMapperConfig.Configure&amp;#40;&amp;#41; in AutomapperConfig.cs&amp;#58; line 35&lt;br /&gt;   at MyApp.Test.AutomapperConfigurationTest.ValidationAutomapperConfiguration&amp;#40;&amp;#41; in AutomapperConfigurationTest.cs&amp;#58; line 11&lt;br /&gt;--FileLoadException&lt;br /&gt;   at Foolproof.Register.Attribute&amp;#40;Type&amp;#160;foolprooftAttributeType&amp;#41;&lt;br /&gt;   at Foolproof.Register.All&amp;#40;&amp;#41;&lt;br /&gt;&amp;#125;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: desmond80in ** &lt;p&gt;Thanks bro this resolved my issue thanks for the valuable input..&lt;/p&gt;</description><author>desmond80in</author><pubDate>Sat, 15 Jun 2013 14:55:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: Could not load file or assembly System.Web.Mvc, Version=2.0.0.0 during unit test [18815] 20130615025526P</guid></item><item><title>Reopened Issue: GreaterThan and LessThan attributes not working with unobtrusive js [15188]</title><link>http://foolproof.codeplex.com/workitem/15188</link><description>In my view model i have similar to the following&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;Range&amp;#40;0, 1000, ErrorMessage &amp;#61; &amp;#34;Please enter a value greater than 0.&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;Display&amp;#40;Name &amp;#61; &amp;#34;Low Value&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public double LowValue &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#160;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;Range&amp;#40;0, 1000, ErrorMessage &amp;#61; &amp;#34;Please enter a value greater than 0.&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;GreaterThan&amp;#40;&amp;#34;LowValue&amp;#34;, ErrorMessage &amp;#61; &amp;#34;Your high value needs to be greater than your low value.&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;Display&amp;#40;Name &amp;#61; &amp;#34;High Value&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public double HighValue &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#160;&lt;br /&gt;I have unobtrusive js enabled in an MVC3 application using the Razor view engine &amp;#40;.NET 4&amp;#41; when. When i run the application and type in 70 for my &amp;#34;low value&amp;#34; and 120 for my &amp;#34;high value&amp;#34; i get a validation error that says &amp;#34;Your high value needs to be greater than your low value&amp;#34; Same results when I tried this with out the &amp;#34;Range&amp;#34; attribute. &lt;br /&gt;&amp;#160;&lt;br /&gt;In addition &amp;#40;thinking the attributes worked the other way&amp;#41; I added the &amp;#34;LessThan&amp;#34; attribute on my &amp;#34;High&amp;#34; value and receive zero javascript validation when &amp;#34;high&amp;#34; is greaterthan or lessthan &amp;#34;low&amp;#34; &amp;#40;but accurate validation when i run Modelstate.IsValid&amp;#41;&lt;br /&gt;</description><author>rbihun</author><pubDate>Fri, 14 Jun 2013 07:26:12 GMT</pubDate><guid isPermaLink="false">Reopened Issue: GreaterThan and LessThan attributes not working with unobtrusive js [15188] 20130614072612A</guid></item><item><title>Created Unassigned: unobtrusive script depends on element.id [19832]</title><link>http://foolproof.codeplex.com/workitem/19832</link><description>when MVC 4 uses a helper within a loop such as&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#64;for &amp;#40;int i&amp;#61;0&amp;#59;i&amp;#60;Foo.length&amp;#59;i&amp;#43;&amp;#43;&amp;#41; &lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#64;Html.EditorFor&amp;#40;model&amp;#61;&amp;#62;model&amp;#91;i&amp;#93;.Bar&amp;#41;&lt;br /&gt;    or&lt;br /&gt;   &amp;#64;Html.TextBoxFor&amp;#40;model&amp;#61;&amp;#62;model&amp;#91;i&amp;#93;.Bar&amp;#41;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;No id attribute is created. obviously the user can use &amp;#64;Html.TextBoxFor&amp;#40;model&amp;#61;&amp;#62;model&amp;#91;i&amp;#93;.bar, new &amp;#123; id&amp;#61;string.Format&amp;#40;&amp;#34;&amp;#91;&amp;#123;0&amp;#125;&amp;#93;_Bar&amp;#34;, i&amp;#41;&amp;#125;&amp;#41;, but the advantage of using Linq within a helper is lost.&lt;br /&gt;&lt;br /&gt;This causes a number of methods to create errors within the javascript.&lt;br /&gt;</description><author>mcshaz</author><pubDate>Sun, 09 Jun 2013 21:46:05 GMT</pubDate><guid isPermaLink="false">Created Unassigned: unobtrusive script depends on element.id [19832] 20130609094605P</guid></item><item><title>Closed Issue: GreaterThan and LessThan attributes not working with unobtrusive js [15188]</title><link>http://foolproof.codeplex.com/workitem/15188</link><description>In my view model i have similar to the following&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;Range&amp;#40;0, 1000, ErrorMessage &amp;#61; &amp;#34;Please enter a value greater than 0.&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;Display&amp;#40;Name &amp;#61; &amp;#34;Low Value&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public double LowValue &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#160;&lt;br /&gt;        &amp;#91;Required&amp;#93;&lt;br /&gt;        &amp;#91;Range&amp;#40;0, 1000, ErrorMessage &amp;#61; &amp;#34;Please enter a value greater than 0.&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;GreaterThan&amp;#40;&amp;#34;LowValue&amp;#34;, ErrorMessage &amp;#61; &amp;#34;Your high value needs to be greater than your low value.&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        &amp;#91;Display&amp;#40;Name &amp;#61; &amp;#34;High Value&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;        public double HighValue &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&amp;#160;&lt;br /&gt;I have unobtrusive js enabled in an MVC3 application using the Razor view engine &amp;#40;.NET 4&amp;#41; when. When i run the application and type in 70 for my &amp;#34;low value&amp;#34; and 120 for my &amp;#34;high value&amp;#34; i get a validation error that says &amp;#34;Your high value needs to be greater than your low value&amp;#34; Same results when I tried this with out the &amp;#34;Range&amp;#34; attribute. &lt;br /&gt;&amp;#160;&lt;br /&gt;In addition &amp;#40;thinking the attributes worked the other way&amp;#41; I added the &amp;#34;LessThan&amp;#34; attribute on my &amp;#34;High&amp;#34; value and receive zero javascript validation when &amp;#34;high&amp;#34; is greaterthan or lessthan &amp;#34;low&amp;#34; &amp;#40;but accurate validation when i run Modelstate.IsValid&amp;#41;&lt;br /&gt;</description><author>rbihun</author><pubDate>Thu, 16 May 2013 10:58:41 GMT</pubDate><guid isPermaLink="false">Closed Issue: GreaterThan and LessThan attributes not working with unobtrusive js [15188] 20130516105841A</guid></item><item><title>Commented Issue: Destination Property should use Display Name if available. [18242]</title><link>http://foolproof.codeplex.com/workitem/18242</link><description>For the property comparison validators, like GreaterThan, it uses the destination property in the error message.&lt;br /&gt;&lt;br /&gt;&amp;#34;Start Date should be greater than EndDate&amp;#34;&lt;br /&gt;&lt;br /&gt;Though the system uses the DisplayName value for the current property, it should also use the DisplayName value for the destination property, if available.&lt;br /&gt;&lt;br /&gt;&amp;#34;Start Date should be greater than End Date&amp;#34;&lt;br /&gt;Comments: ** Comment from web user: peterrow ** &lt;p&gt;I would say that the impact is medium or high.&lt;br&gt;Without this whenever a validation message is shown it is displayed incorrect, this looks bad to clients of my software. The only workaround is to hardcode the error message - not nice, especially for localisation.&lt;/p&gt;</description><author>peterrow</author><pubDate>Tue, 09 Apr 2013 13:11:02 GMT</pubDate><guid isPermaLink="false">Commented Issue: Destination Property should use Display Name if available. [18242] 20130409011102P</guid></item><item><title>Commented Issue: Issue - NotImplementedException [17357]</title><link>http://foolproof.codeplex.com/workitem/17357</link><description>&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;forums.asp.net&amp;#47;post&amp;#47;4749014.aspx&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;forums.asp.net&amp;#47;t&amp;#47;1752975.aspx&amp;#47;1&amp;#63;Conditional&amp;#43;validation&amp;#43;with&amp;#43;MVC&amp;#43;Foolproof&amp;#43;Validation&amp;#43;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: manuel0081 ** &lt;p&gt;related to #15609. Can be closed.&lt;/p&gt;</description><author>manuel0081</author><pubDate>Thu, 21 Feb 2013 11:03:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue - NotImplementedException [17357] 20130221110304A</guid></item><item><title>Commented Issue: "The method or operation is not implemented." - ValidationAttributes and Entity Framework 4 [15609]</title><link>http://foolproof.codeplex.com/workitem/15609</link><description>&amp;#60;p&amp;#62;Hi,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;There doesn&amp;#39;t appear to be anything about this issue in the discussions or issue tracker. Must say, before I begin, I like what you&amp;#39;ve been doing and would very much like to make use of this library in my MVC 3 projects.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Anyway, it looks like there&amp;#39;s an issue with the &amp;#39;IsAttribute&amp;#39; attributes &amp;#40;not tested the RequiredIf attributes&amp;#41; when used in conjunction with the Entity Framework &amp;#40;I&amp;#39;m using EF 4.1 with Code First&amp;#41;. When EF is trying to SaveChanges&amp;#40;&amp;#41; the following exception is being raised&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#91;NotImplementedException&amp;#58; The method or operation is not implemented.&amp;#93;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   Foolproof.ModelAwareValidationAttribute.IsValid&amp;#40;Object value&amp;#41; &amp;#43;28&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   System.ComponentModel.DataAnnotations.ValidationAttribute.IsValid&amp;#40;Object value, ValidationContext validationContext&amp;#41; &amp;#43;108&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   System.ComponentModel.DataAnnotations.ValidationAttribute.GetValidationResult&amp;#40;Object value, ValidationContext validationContext&amp;#41; &amp;#43;29&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   System.Data.Entity.Internal.Validation.ValidationAttributeValidator.Validate&amp;#40;EntityValidationContext entityValidationContext, InternalMemberEntry property&amp;#41; &amp;#43;107&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Not hugely familiar with EF to be able to give you any detailed suggestions&amp;#47;fixes but, since the error is coming from ModelAwareValidationAttribute, I suspect the issue lies around when the validation attributes are being instantiated or something to do with the object inheritance hierarchy.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Hope this helps.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Cheers,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Jonny&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: manuel0081 ** &lt;p&gt;Impact low? change to urgent! It's related to Entity Framework... it's very important to resolve.&lt;/p&gt;</description><author>manuel0081</author><pubDate>Thu, 21 Feb 2013 10:52:24 GMT</pubDate><guid isPermaLink="false">Commented Issue: "The method or operation is not implemented." - ValidationAttributes and Entity Framework 4 [15609] 20130221105224A</guid></item><item><title>Commented Issue: "The method or operation is not implemented." - ValidationAttributes and Entity Framework 4 [15609]</title><link>http://foolproof.codeplex.com/workitem/15609</link><description>&amp;#60;p&amp;#62;Hi,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;There doesn&amp;#38;&amp;#35;39&amp;#59;t appear to be anything about this issue in the discussions or issue tracker. Must say, before I begin, I like what you&amp;#38;&amp;#35;39&amp;#59;ve been doing and would very much like to make use of this library in my MVC 3 projects.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Anyway, it looks like there&amp;#38;&amp;#35;39&amp;#59;s an issue with the &amp;#38;&amp;#35;39&amp;#59;IsAttribute&amp;#38;&amp;#35;39&amp;#59; attributes &amp;#40;not tested the RequiredIf attributes&amp;#41; when used in conjunction with the Entity Framework &amp;#40;I&amp;#38;&amp;#35;39&amp;#59;m using EF 4.1 with Code First&amp;#41;. When EF is trying to SaveChanges&amp;#40;&amp;#41; the following exception is being raised&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#91;NotImplementedException&amp;#58; The method or operation is not implemented.&amp;#93;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   Foolproof.ModelAwareValidationAttribute.IsValid&amp;#40;Object value&amp;#41; &amp;#43;28&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   System.ComponentModel.DataAnnotations.ValidationAttribute.IsValid&amp;#40;Object value, ValidationContext validationContext&amp;#41; &amp;#43;108&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   System.ComponentModel.DataAnnotations.ValidationAttribute.GetValidationResult&amp;#40;Object value, ValidationContext validationContext&amp;#41; &amp;#43;29&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;   System.Data.Entity.Internal.Validation.ValidationAttributeValidator.Validate&amp;#40;EntityValidationContext entityValidationContext, InternalMemberEntry property&amp;#41; &amp;#43;107&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Not hugely familiar with EF to be able to give you any detailed suggestions&amp;#47;fixes but, since the error is coming from ModelAwareValidationAttribute, I suspect the issue lies around when the validation attributes are being instantiated or something to do with the object inheritance hierarchy.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Hope this helps.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Cheers,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Jonny&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: manuel0081 ** &lt;p&gt;I have too&lt;/p&gt;</description><author>manuel0081</author><pubDate>Thu, 21 Feb 2013 10:45:09 GMT</pubDate><guid isPermaLink="false">Commented Issue: "The method or operation is not implemented." - ValidationAttributes and Entity Framework 4 [15609] 20130221104509A</guid></item><item><title>Created Issue: How to get VB.Net verion of this code (MVC Validation) [19216]</title><link>http://foolproof.codeplex.com/workitem/19216</link><description>Please let me know&lt;br /&gt;</description><author>Pughalveni</author><pubDate>Mon, 21 Jan 2013 11:21:07 GMT</pubDate><guid isPermaLink="false">Created Issue: How to get VB.Net verion of this code (MVC Validation) [19216] 20130121112107A</guid></item><item><title>Commented Issue: RequiredIf not working with radio buttons [18872]</title><link>http://foolproof.codeplex.com/workitem/18872</link><description>Hi,&lt;br /&gt;I want validate the radio button with reuiredIf attribute using dependent value but client side validation deosnt work for radio button. any help&amp;#33;&amp;#33;&lt;br /&gt;Comments: ** Comment from web user: nairik ** &lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Same bug for me, but i suspect that client validation is not working when using sub classes inside your view model.&lt;/p&gt;&lt;p&gt;Example :&lt;/p&gt;&lt;p&gt;public class Test1ViewModel &lt;br&gt;{&lt;br&gt; public Test2ViewModel model2 {get;set;}&lt;br&gt;}&lt;/p&gt;&lt;p&gt;public class Test2ViewModel &lt;br&gt;{&lt;br&gt;  public bool bool1{get;set;}&lt;/p&gt;&lt;p&gt;[RequiredIfTrue(&amp;quot;bool1&amp;quot;)] // This is not working on client side. Please fix this bug :)&lt;br&gt;   public string string1{get;set;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;</description><author>nairik</author><pubDate>Wed, 16 Jan 2013 09:03:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: RequiredIf not working with radio buttons [18872] 20130116090322A</guid></item><item><title>Created Issue: GreaterThan operator compare only days on 'dd M yy' formatted date [19185]</title><link>http://foolproof.codeplex.com/workitem/19185</link><description>When comparing 2 dates with the &amp;#39;dd M yy&amp;#39; format using the GreaterThan operator&amp;#58;&lt;br /&gt;Begin&amp;#58; 16 Jan 2013&lt;br /&gt;End&amp;#58; 06 Feb 2013&lt;br /&gt;&lt;br /&gt;The GreaterThan operator only check the days instead of the entire date&amp;#40;day, month and year&amp;#41; and as a result of it 16 days is greater than 06 days and the validation failed&amp;#58; &amp;#39;Begin must be greater than End&amp;#39;, which is obviously unwanted behavior.&lt;br /&gt;&lt;br /&gt;Please help.&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;</description><author>ynevet</author><pubDate>Mon, 14 Jan 2013 08:27:52 GMT</pubDate><guid isPermaLink="false">Created Issue: GreaterThan operator compare only days on 'dd M yy' formatted date [19185] 20130114082752A</guid></item><item><title>Commented Issue: Support internation date and time formats [17417]</title><link>http://foolproof.codeplex.com/workitem/17417</link><description>&amp;#60;p&amp;#62;Please add support for international date and time formats in client validation &amp;#40;unobtrusive&amp;#41;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Such as &amp;#38;&amp;#35;39&amp;#59;dd&amp;#47;mm&amp;#47;yyyy&amp;#38;&amp;#35;39&amp;#59; and &amp;#38;&amp;#35;39&amp;#59;dd.mm.yyyy&amp;#38;&amp;#35;39&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: stare ** &lt;p&gt;Second that!&lt;/p&gt;</description><author>stare</author><pubDate>Fri, 07 Dec 2012 06:41:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: Support internation date and time formats [17417] 20121207064155A</guid></item><item><title>Commented Issue: RequiredIf using Regex against number field never validates [18974]</title><link>http://foolproof.codeplex.com/workitem/18974</link><description>I have a state field that is only required if the user select USA or Canada from a dropdown. I used RequiredIf with the RegExMatch operator. This works perfectly with server side validation, but the unobtrusive validation never shows that field as invalid.&lt;br /&gt;&lt;br /&gt;&amp;#91;RequiredIf&amp;#40;&amp;#38;quot&amp;#59;Country&amp;#38;quot&amp;#59;, Operator.RegExMatch, &amp;#38;quot&amp;#59;&amp;#40;1033&amp;#124;4105&amp;#41;&amp;#38;quot&amp;#59;, ErrorMessage &amp;#61; &amp;#38;quot&amp;#59;&amp;#123;0&amp;#125; is required&amp;#38;quot&amp;#59;&amp;#41;&amp;#93;&lt;br /&gt;public string State &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#91;Required&amp;#40;ErrorMessage &amp;#61; &amp;#38;quot&amp;#59;&amp;#123;0&amp;#125; is required&amp;#38;quot&amp;#59;&amp;#41;&amp;#93;&lt;br /&gt;public int Country &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;Looking at the source of mvcfoolproof.unobtrusive.js, the issue is because it is parsing value2 &amp;#40;&amp;#38;quot&amp;#59;&amp;#40;1033&amp;#124;4105&amp;#41;&amp;#38;quot&amp;#59;&amp;#41; to a number because it sees that value1 &amp;#40;&amp;#38;quot&amp;#59;1033&amp;#38;quot&amp;#59;&amp;#41; is a number. This makes the RegEx never fail because value2 is NaN. &lt;br /&gt;&lt;br /&gt;Here is how I changed that block of code to make it work. Essentially I&amp;#39;m keeping the original values around even after being parsed, because you should never parse the regex pattern.&lt;br /&gt;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61; Code Fix &amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&amp;#9;var originalValue1 &amp;#61; value1&amp;#59;&lt;br /&gt;&amp;#9;var originalValue2 &amp;#61; value2&amp;#59;&lt;br /&gt;    if &amp;#40;isDate&amp;#40;value1&amp;#41;&amp;#41; &amp;#123;&lt;br /&gt;        value1 &amp;#61; Date.parse&amp;#40;value1&amp;#41;&amp;#59;&lt;br /&gt;        value2 &amp;#61; Date.parse&amp;#40;value2&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    else if &amp;#40;isBool&amp;#40;value1&amp;#41;&amp;#41; &amp;#123;&lt;br /&gt;        if &amp;#40;value1 &amp;#61;&amp;#61; &amp;#38;quot&amp;#59;false&amp;#38;quot&amp;#59;&amp;#41; value1 &amp;#61; false&amp;#59;&lt;br /&gt;        if &amp;#40;value2 &amp;#61;&amp;#61; &amp;#38;quot&amp;#59;false&amp;#38;quot&amp;#59;&amp;#41; value2 &amp;#61; false&amp;#59;&lt;br /&gt;        value1 &amp;#61; &amp;#33;&amp;#33;value1&amp;#59;&lt;br /&gt;        value2 &amp;#61; &amp;#33;&amp;#33;value2&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    else if &amp;#40;isNumeric&amp;#40;value1&amp;#41;&amp;#41; &amp;#123;&lt;br /&gt;        value1 &amp;#61; parseFloat&amp;#40;value1&amp;#41;&amp;#59;&lt;br /&gt;        value2 &amp;#61; parseFloat&amp;#40;value2&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    switch &amp;#40;operator&amp;#41; &amp;#123;&lt;br /&gt;        case &amp;#38;quot&amp;#59;EqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#61;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;NotEqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#33;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;GreaterThan&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;gt&amp;#59; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;LessThan&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;lt&amp;#59; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;GreaterThanOrEqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;gt&amp;#59;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;LessThanOrEqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;lt&amp;#59;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;RegExMatch&amp;#38;quot&amp;#59;&amp;#58; return &amp;#40;new RegExp&amp;#40;originalValue2&amp;#41;&amp;#41;.test&amp;#40;value1&amp;#41;&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;NotRegExMatch&amp;#38;quot&amp;#59;&amp;#58; return &amp;#33;&amp;#40;new RegExp&amp;#40;value2&amp;#41;&amp;#41;.test&amp;#40;value1&amp;#41;&amp;#59; break&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: jwynveen ** &lt;p&gt;The other option would be to parse value1 and value2 separately since they very well could be different types. Something like this:&lt;/p&gt;&lt;p&gt;    if (isDate(value1)) {&lt;br&gt;        value1 = Date.parse(value1);&lt;br&gt;    }&lt;br&gt;    else if (isBool(value1)) {&lt;br&gt;        if (value1 == &amp;quot;false&amp;quot;) value1 = false;&lt;br&gt;        value1 = !!value1;&lt;br&gt;    }&lt;br&gt;    else if (isNumeric(value1)) {&lt;br&gt;        value1 = parseFloat(value1);&lt;br&gt;    }&lt;br&gt;    if (isDate(value2)) {&lt;br&gt;        value2 = Date.parse(value2);&lt;br&gt;    }&lt;br&gt;    else if (isBool(value2)) {&lt;br&gt;        if (value2 == &amp;quot;false&amp;quot;) value2 = false;&lt;br&gt;        value2 = !!value2;&lt;br&gt;    }&lt;br&gt;    else if (isNumeric(value2)) {&lt;br&gt;        value2 = parseFloat(value2);&lt;br&gt;    }&lt;br&gt;==end code==&lt;br&gt;That could obviously be cleaned up into a shared function that parses each value, but I think you get the point.&lt;/p&gt;</description><author>jwynveen</author><pubDate>Mon, 26 Nov 2012 22:56:12 GMT</pubDate><guid isPermaLink="false">Commented Issue: RequiredIf using Regex against number field never validates [18974] 20121126105612P</guid></item><item><title>Created Issue: RequiredIf using Regex against number field never validates [18974]</title><link>http://foolproof.codeplex.com/workitem/18974</link><description>I have a state field that is only required if the user select USA or Canada from a dropdown. I used RequiredIf with the RegExMatch operator. This works perfectly with server side validation, but the unobtrusive validation never shows that field as invalid.&lt;br /&gt;&lt;br /&gt;&amp;#91;RequiredIf&amp;#40;&amp;#38;quot&amp;#59;Country&amp;#38;quot&amp;#59;, Operator.RegExMatch, &amp;#38;quot&amp;#59;&amp;#40;1033&amp;#124;4105&amp;#41;&amp;#38;quot&amp;#59;, ErrorMessage &amp;#61; &amp;#38;quot&amp;#59;&amp;#123;0&amp;#125; is required&amp;#38;quot&amp;#59;&amp;#41;&amp;#93;&lt;br /&gt;public string State &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#91;Required&amp;#40;ErrorMessage &amp;#61; &amp;#38;quot&amp;#59;&amp;#123;0&amp;#125; is required&amp;#38;quot&amp;#59;&amp;#41;&amp;#93;&lt;br /&gt;public int Country &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&lt;br /&gt;&lt;br /&gt;Looking at the source of mvcfoolproof.unobtrusive.js, the issue is because it is parsing value2 &amp;#40;&amp;#38;quot&amp;#59;&amp;#40;1033&amp;#124;4105&amp;#41;&amp;#38;quot&amp;#59;&amp;#41; to a number because it sees that value1 &amp;#40;&amp;#38;quot&amp;#59;1033&amp;#38;quot&amp;#59;&amp;#41; is a number. This makes the RegEx never fail because value2 is NaN. &lt;br /&gt;&lt;br /&gt;Here is how I changed that block of code to make it work. Essentially I&amp;#39;m keeping the original values around even after being parsed, because you should never parse the regex pattern.&lt;br /&gt;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61; Code Fix &amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&amp;#9;var originalValue1 &amp;#61; value1&amp;#59;&lt;br /&gt;&amp;#9;var originalValue2 &amp;#61; value2&amp;#59;&lt;br /&gt;    if &amp;#40;isDate&amp;#40;value1&amp;#41;&amp;#41; &amp;#123;&lt;br /&gt;        value1 &amp;#61; Date.parse&amp;#40;value1&amp;#41;&amp;#59;&lt;br /&gt;        value2 &amp;#61; Date.parse&amp;#40;value2&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    else if &amp;#40;isBool&amp;#40;value1&amp;#41;&amp;#41; &amp;#123;&lt;br /&gt;        if &amp;#40;value1 &amp;#61;&amp;#61; &amp;#38;quot&amp;#59;false&amp;#38;quot&amp;#59;&amp;#41; value1 &amp;#61; false&amp;#59;&lt;br /&gt;        if &amp;#40;value2 &amp;#61;&amp;#61; &amp;#38;quot&amp;#59;false&amp;#38;quot&amp;#59;&amp;#41; value2 &amp;#61; false&amp;#59;&lt;br /&gt;        value1 &amp;#61; &amp;#33;&amp;#33;value1&amp;#59;&lt;br /&gt;        value2 &amp;#61; &amp;#33;&amp;#33;value2&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    else if &amp;#40;isNumeric&amp;#40;value1&amp;#41;&amp;#41; &amp;#123;&lt;br /&gt;        value1 &amp;#61; parseFloat&amp;#40;value1&amp;#41;&amp;#59;&lt;br /&gt;        value2 &amp;#61; parseFloat&amp;#40;value2&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    switch &amp;#40;operator&amp;#41; &amp;#123;&lt;br /&gt;        case &amp;#38;quot&amp;#59;EqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#61;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;NotEqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#33;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;GreaterThan&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;gt&amp;#59; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;LessThan&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;lt&amp;#59; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;GreaterThanOrEqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;gt&amp;#59;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;LessThanOrEqualTo&amp;#38;quot&amp;#59;&amp;#58; if &amp;#40;value1 &amp;#38;lt&amp;#59;&amp;#61; value2&amp;#41; return true&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;RegExMatch&amp;#38;quot&amp;#59;&amp;#58; return &amp;#40;new RegExp&amp;#40;originalValue2&amp;#41;&amp;#41;.test&amp;#40;value1&amp;#41;&amp;#59; break&amp;#59;&lt;br /&gt;        case &amp;#38;quot&amp;#59;NotRegExMatch&amp;#38;quot&amp;#59;&amp;#58; return &amp;#33;&amp;#40;new RegExp&amp;#40;value2&amp;#41;&amp;#41;.test&amp;#40;value1&amp;#41;&amp;#59; break&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;</description><author>jwynveen</author><pubDate>Mon, 26 Nov 2012 22:51:49 GMT</pubDate><guid isPermaLink="false">Created Issue: RequiredIf using Regex against number field never validates [18974] 20121126105149P</guid></item><item><title>Commented Issue: RequiredIfTrue not working with EditorTemplates [17819]</title><link>http://foolproof.codeplex.com/workitem/17819</link><description>&amp;#60;p&amp;#62;RequiredIfTrue doesn&amp;#38;&amp;#35;39&amp;#59;t work with EditorTemplates.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;if have a list of RegistrationStepFields &amp;#40;List&amp;#38;lt&amp;#59;RequiredStepModel&amp;#38;gt&amp;#59;&amp;#41; wich a have an EditorTemplate for.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#64;Html.EditorFor&amp;#40;x &amp;#61;&amp;#38;gt&amp;#59; x.RegistrationStepFields, ViewData&amp;#41;.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;In my model i have bound the RequiredIf Attribute to the Value field like this&amp;#58; &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;public bool Required &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62; &amp;#91;RequiredIfTrue&amp;#40;&amp;#38;quot&amp;#59;Required&amp;#38;quot&amp;#59;&amp;#41;&amp;#93;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62; public string Value &amp;#123; get&amp;#59; set&amp;#59; &amp;#125;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;the problem is that the View is rendered like this&amp;#58; &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;lt&amp;#59;input type&amp;#61;&amp;#38;quot&amp;#59;hidden&amp;#38;quot&amp;#59; value&amp;#61;&amp;#38;quot&amp;#59;True&amp;#38;quot&amp;#59; name&amp;#61;&amp;#38;quot&amp;#59;RegistrationStepFields&amp;#91;1&amp;#93;.Required&amp;#38;quot&amp;#59; id&amp;#61;&amp;#38;quot&amp;#59;RegistrationStepFields_1__Required&amp;#38;quot&amp;#59; data-val-required&amp;#61;&amp;#38;quot&amp;#59;The Required field is required.&amp;#38;quot&amp;#59; data-val&amp;#61;&amp;#38;quot&amp;#59;true&amp;#38;quot&amp;#59; class&amp;#61;&amp;#38;quot&amp;#59;valid&amp;#38;quot&amp;#59;&amp;#38;gt&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;lt&amp;#59;input type&amp;#61;&amp;#38;quot&amp;#59;text&amp;#38;quot&amp;#59; value&amp;#61;&amp;#38;quot&amp;#59;&amp;#38;quot&amp;#59; name&amp;#61;&amp;#38;quot&amp;#59;RegistrationStepFields&amp;#91;1&amp;#93;.Value&amp;#38;quot&amp;#59; id&amp;#61;&amp;#38;quot&amp;#59;RegistrationStepFields_1__Value&amp;#38;quot&amp;#59; data-val-requiredif-operator&amp;#61;&amp;#38;quot&amp;#59;EqualTo&amp;#38;quot&amp;#59; data-val-requiredif-dependentvalue&amp;#61;&amp;#38;quot&amp;#59;True&amp;#38;quot&amp;#59; data-val-requiredif-dependentproperty&amp;#61;&amp;#38;quot&amp;#59;Required&amp;#38;quot&amp;#59; data-val-requiredif&amp;#61;&amp;#38;quot&amp;#59;Value is required due to Required being equal to True&amp;#38;quot&amp;#59; data-val-remote-url&amp;#61;&amp;#38;quot&amp;#59;&amp;#47;Register&amp;#47;ValidateAlias&amp;#38;quot&amp;#59; data-val-remote&amp;#61;&amp;#38;quot&amp;#59;Profile_Alias is valid&amp;#38;quot&amp;#59; data-val&amp;#61;&amp;#38;quot&amp;#59;true&amp;#38;quot&amp;#59; tabindex&amp;#61;&amp;#38;quot&amp;#59;1&amp;#38;quot&amp;#59; class&amp;#61;&amp;#38;quot&amp;#59;dating-forminput dating-forminput-10 tooltip-enabled Profile_Alias valid&amp;#38;quot&amp;#59; data-original-title&amp;#61;&amp;#38;quot&amp;#59;blabla&amp;#38;quot&amp;#59;&amp;#38;gt&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;so it seems like the foolproof validation is not aware of validation within a loop &amp;#40;EditorTemplate&amp;#41; so the validation is searching for a property wich doesn&amp;#38;&amp;#35;39&amp;#59;t exist.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: zbarrier ** &lt;p&gt;Nick,&lt;/p&gt;&lt;p&gt;I have this same problem.  My html contains the correct markup, but client side validation doesn't work.  Have you had any luck in solving this?&lt;/p&gt;</description><author>zbarrier</author><pubDate>Sat, 17 Nov 2012 01:25:33 GMT</pubDate><guid isPermaLink="false">Commented Issue: RequiredIfTrue not working with EditorTemplates [17819] 20121117012533A</guid></item><item><title>Created Issue: RequiredIf not working with radio buttons [18872]</title><link>http://foolproof.codeplex.com/workitem/18872</link><description>Hi,&lt;br /&gt;I want validate the radio button with reuiredIf attribute using dependent value but client side validation deosnt work for radio button. any help&amp;#33;&amp;#33;&lt;br /&gt;</description><author>rahul8612</author><pubDate>Wed, 07 Nov 2012 10:00:40 GMT</pubDate><guid isPermaLink="false">Created Issue: RequiredIf not working with radio buttons [18872] 20121107100040A</guid></item><item><title>Commented Issue: Could not load file or assembly System.Web.Mvc, Version=2.0.0.0 during unit test [18815]</title><link>http://foolproof.codeplex.com/workitem/18815</link><description>I get the following exception when trying to run an NUnit test to verify AutoMappers configuration. I don&amp;#39;t know why its looking for MVC 2.0&amp;#63; I am using MVC 4.0.0 dlls in my main app and Foolproof works fine at runtime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Any ideas&amp;#63;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#123;&amp;#123;&lt;br /&gt;System.TypeInitializationException &amp;#58; The type initializer for &amp;#39;Foolproof.ContingentValidationAttribute&amp;#39; threw an exception.&lt;br /&gt;  ----&amp;#38;gt&amp;#59; System.IO.FileLoadException &amp;#58; Could not load file or assembly &amp;#39;System.Web.Mvc, Version&amp;#61;2.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;   at System.Reflection.CustomAttribute._CreateCaObject&amp;#40;RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte&amp;#42;&amp;#42; ppBlob, Byte&amp;#42; pEndBlob, Int32&amp;#42; pcNamedArgs&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.CreateCaObject&amp;#40;RuntimeModule&amp;#38;&amp;#35;160&amp;#59;module,&amp;#38;&amp;#35;160&amp;#59;IRuntimeMethodInfo&amp;#38;&amp;#35;160&amp;#59;ctor,&amp;#38;&amp;#35;160&amp;#59;ref&amp;#38;&amp;#35;160&amp;#59;IntPtr&amp;#38;&amp;#35;160&amp;#59;blob,&amp;#38;&amp;#35;160&amp;#59;IntPtr&amp;#38;&amp;#35;160&amp;#59;blobEnd,&amp;#38;&amp;#35;160&amp;#59;ref&amp;#38;&amp;#35;160&amp;#59;Int32&amp;#38;&amp;#35;160&amp;#59;namedArgs&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.GetCustomAttributes&amp;#40;RuntimeModule&amp;#38;&amp;#35;160&amp;#59;decoratedModule,&amp;#38;&amp;#35;160&amp;#59;Int32&amp;#38;&amp;#35;160&amp;#59;decoratedMetadataToken,&amp;#38;&amp;#35;160&amp;#59;Int32&amp;#38;&amp;#35;160&amp;#59;pcaCount,&amp;#38;&amp;#35;160&amp;#59;RuntimeType&amp;#38;&amp;#35;160&amp;#59;attributeFilterType,&amp;#38;&amp;#35;160&amp;#59;Boolean&amp;#38;&amp;#35;160&amp;#59;mustBeInheritable,&amp;#38;&amp;#35;160&amp;#59;IList&amp;#38;&amp;#35;160&amp;#59;derivedAttributes,&amp;#38;&amp;#35;160&amp;#59;Boolean&amp;#38;&amp;#35;160&amp;#59;isDecoratedTargetSecurityTransparent&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.GetCustomAttributes&amp;#40;RuntimePropertyInfo&amp;#38;&amp;#35;160&amp;#59;property,&amp;#38;&amp;#35;160&amp;#59;RuntimeType&amp;#38;&amp;#35;160&amp;#59;caType&amp;#41;&lt;br /&gt;   at AutoMapper.ConfigurationStore.CreateMappingExpression&amp;#40;TypeMap&amp;#38;&amp;#35;160&amp;#59;typeMap&amp;#41;&lt;br /&gt;   at AutoMapperConfig.Configure&amp;#40;&amp;#41; in AutomapperConfig.cs&amp;#58; line 35&lt;br /&gt;   at MyApp.Test.AutomapperConfigurationTest.ValidationAutomapperConfiguration&amp;#40;&amp;#41; in AutomapperConfigurationTest.cs&amp;#58; line 11&lt;br /&gt;--FileLoadException&lt;br /&gt;   at Foolproof.Register.Attribute&amp;#40;Type&amp;#38;&amp;#35;160&amp;#59;foolprooftAttributeType&amp;#41;&lt;br /&gt;   at Foolproof.Register.All&amp;#40;&amp;#41;&lt;br /&gt;&amp;#125;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: jtu100 ** &lt;p&gt;I think the problem is caused by this line in the app config:&lt;/p&gt;&lt;p&gt;&amp;lt;Reference Include=&amp;quot;System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;It explicitly references 2.0.0.0. &lt;/p&gt;&lt;p&gt;This is worked around in the main app by having a binding redirect. But during unit testing the app.config is not available.&lt;/p&gt;</description><author>jtu100</author><pubDate>Tue, 23 Oct 2012 13:25:38 GMT</pubDate><guid isPermaLink="false">Commented Issue: Could not load file or assembly System.Web.Mvc, Version=2.0.0.0 during unit test [18815] 20121023012538P</guid></item><item><title>Created Issue: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0 during unit test [18815]</title><link>http://foolproof.codeplex.com/workitem/18815</link><description>I get the following exception when trying to run an NUnit test to verify AutoMappers configuration. I don&amp;#39;t know why its looking for MVC 2.0&amp;#63; I am using MVC 4.0.0 dlls in my main app and Foolproof works fine.&lt;br /&gt;&lt;br /&gt;Any ideas&amp;#63;&lt;br /&gt;&lt;br /&gt;System.TypeInitializationException &amp;#58; The type initializer for &amp;#39;Foolproof.ContingentValidationAttribute&amp;#39; threw an exception.&lt;br /&gt;  ----&amp;#38;gt&amp;#59; System.IO.FileLoadException &amp;#58; Could not load file or assembly &amp;#39;System.Web.Mvc, Version&amp;#61;2.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;   at System.Reflection.CustomAttribute._CreateCaObject&amp;#40;RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte&amp;#42;&amp;#42; ppBlob, Byte&amp;#42; pEndBlob, Int32&amp;#42; pcNamedArgs&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.CreateCaObject&amp;#40;RuntimeModule&amp;#38;&amp;#35;160&amp;#59;module,&amp;#38;&amp;#35;160&amp;#59;IRuntimeMethodInfo&amp;#38;&amp;#35;160&amp;#59;ctor,&amp;#38;&amp;#35;160&amp;#59;ref&amp;#38;&amp;#35;160&amp;#59;IntPtr&amp;#38;&amp;#35;160&amp;#59;blob,&amp;#38;&amp;#35;160&amp;#59;IntPtr&amp;#38;&amp;#35;160&amp;#59;blobEnd,&amp;#38;&amp;#35;160&amp;#59;ref&amp;#38;&amp;#35;160&amp;#59;Int32&amp;#38;&amp;#35;160&amp;#59;namedArgs&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.GetCustomAttributes&amp;#40;RuntimeModule&amp;#38;&amp;#35;160&amp;#59;decoratedModule,&amp;#38;&amp;#35;160&amp;#59;Int32&amp;#38;&amp;#35;160&amp;#59;decoratedMetadataToken,&amp;#38;&amp;#35;160&amp;#59;Int32&amp;#38;&amp;#35;160&amp;#59;pcaCount,&amp;#38;&amp;#35;160&amp;#59;RuntimeType&amp;#38;&amp;#35;160&amp;#59;attributeFilterType,&amp;#38;&amp;#35;160&amp;#59;Boolean&amp;#38;&amp;#35;160&amp;#59;mustBeInheritable,&amp;#38;&amp;#35;160&amp;#59;IList&amp;#38;&amp;#35;160&amp;#59;derivedAttributes,&amp;#38;&amp;#35;160&amp;#59;Boolean&amp;#38;&amp;#35;160&amp;#59;isDecoratedTargetSecurityTransparent&amp;#41;&lt;br /&gt;   at System.Reflection.CustomAttribute.GetCustomAttributes&amp;#40;RuntimePropertyInfo&amp;#38;&amp;#35;160&amp;#59;property,&amp;#38;&amp;#35;160&amp;#59;RuntimeType&amp;#38;&amp;#35;160&amp;#59;caType&amp;#41;&lt;br /&gt;   at AutoMapper.ConfigurationStore.CreateMappingExpression&amp;#40;TypeMap&amp;#38;&amp;#35;160&amp;#59;typeMap&amp;#41;&lt;br /&gt;   at AutoMapperConfig.Configure&amp;#40;&amp;#41; in AutomapperConfig.cs&amp;#58; line 35&lt;br /&gt;   at OkFlatmate.Test.AutomapperConfigurationTest.ValidationAutomapperConfiguration&amp;#40;&amp;#41; in AutomapperConfigurationTest.cs&amp;#58; line 11&lt;br /&gt;--FileLoadException&lt;br /&gt;   at Foolproof.Register.Attribute&amp;#40;Type&amp;#38;&amp;#35;160&amp;#59;foolprooftAttributeType&amp;#41;&lt;br /&gt;   at Foolproof.Register.All&amp;#40;&amp;#41;&lt;br /&gt;</description><author>jtu100</author><pubDate>Tue, 23 Oct 2012 12:51:30 GMT</pubDate><guid isPermaLink="false">Created Issue: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0 during unit test [18815] 20121023125130P</guid></item><item><title>Commented Issue: Issue - NotImplementedException [17357]</title><link>http://foolproof.codeplex.com/workitem/17357</link><description>http&amp;#58;&amp;#47;&amp;#47;forums.asp.net&amp;#47;post&amp;#47;4749014.aspx&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;forums.asp.net&amp;#47;t&amp;#47;1752975.aspx&amp;#47;1&amp;#63;Conditional&amp;#43;validation&amp;#43;with&amp;#43;MVC&amp;#43;Foolproof&amp;#43;Validation&amp;#43;&lt;br /&gt;Comments: ** Comment from web user: cammoorman ** &lt;p&gt;Entity Frameworks and Telerik Open Access are equally affected.&lt;/p&gt;</description><author>cammoorman</author><pubDate>Wed, 22 Aug 2012 23:18:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue - NotImplementedException [17357] 20120822111825P</guid></item><item><title>Created Issue: RequiredIf can only be used once per property [18483]</title><link>http://foolproof.codeplex.com/workitem/18483</link><description>There may be several cases where a property is required&amp;#59; this seems too limited.  Is there a purpose behind restricting to only one instance per property&amp;#63;&lt;br /&gt;</description><author>jholovacs</author><pubDate>Fri, 17 Aug 2012 18:06:54 GMT</pubDate><guid isPermaLink="false">Created Issue: RequiredIf can only be used once per property [18483] 20120817060654P</guid></item></channel></rss>