<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Client Side Model-Aware Validation</title>
	<atom:link href="http://www.nickriggs.com/posts/client-side-model-aware-validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/</link>
	<description>Making stuff up about web development since last week.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:29:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Florim</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-19740</link>
		<dc:creator>Florim</dc:creator>
		<pubDate>Thu, 28 Jul 2011 09:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-19740</guid>
		<description>How can i do that with JQuery.</description>
		<content:encoded><![CDATA[<p>How can i do that with JQuery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajeev</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-3086</link>
		<dc:creator>rajeev</dc:creator>
		<pubDate>Tue, 25 Jan 2011 08:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-3086</guid>
		<description>hello sir,
            i have doubt in anti-phishing....what is mean by anti-phishing and its use ..then what is mean by disruption tolerant network and its use....</description>
		<content:encoded><![CDATA[<p>hello sir,<br />
            i have doubt in anti-phishing&#8230;.what is mean by anti-phishing and its use ..then what is mean by disruption tolerant network and its use&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Riggs</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-694</link>
		<dc:creator>Nick Riggs</dc:creator>
		<pubDate>Tue, 06 Jul 2010 21:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-694</guid>
		<description>Ah - I see what you are after now. It would seem that in the case of a check box, the client validation routines only run when use attempts to submit the form. Referencing the screen shot you sent, when you press the Go button, client validation will pass and the form submits. I agree it will would be nice if validation ran &quot;onchange&quot; - I&#039;m not sure if this is something I can make happen or not, I&#039;ll have to dig into the Microsoft Validation library and see what my options are.</description>
		<content:encoded><![CDATA[<p>Ah &#8211; I see what you are after now. It would seem that in the case of a check box, the client validation routines only run when use attempts to submit the form. Referencing the screen shot you sent, when you press the Go button, client validation will pass and the form submits. I agree it will would be nice if validation ran &#8220;onchange&#8221; &#8211; I&#8217;m not sure if this is something I can make happen or not, I&#8217;ll have to dig into the Microsoft Validation library and see what my options are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Ayotte</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-693</link>
		<dc:creator>Richard Ayotte</dc:creator>
		<pubDate>Tue, 06 Jul 2010 20:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-693</guid>
		<description>I ran the TestingCheckbox and it didn&#039;t behave as I wished. Shouldn&#039;t the error message disappear when the checkbox is unchecked?

https://dl.dropbox.com/u/8817969/checkbox_test.png

If the recur_time_unit_count field is not required, shouldn&#039;t the error for that field also be hidden?

Thanks again for your help.</description>
		<content:encoded><![CDATA[<p>I ran the TestingCheckbox and it didn&#8217;t behave as I wished. Shouldn&#8217;t the error message disappear when the checkbox is unchecked?</p>
<p><a href="https://dl.dropbox.com/u/8817969/checkbox_test.png" rel="nofollow">https://dl.dropbox.com/u/8817969/checkbox_test.png</a></p>
<p>If the recur_time_unit_count field is not required, shouldn&#8217;t the error for that field also be hidden?</p>
<p>Thanks again for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Ayotte</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-692</link>
		<dc:creator>Richard Ayotte</dc:creator>
		<pubDate>Tue, 06 Jul 2010 16:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-692</guid>
		<description>@Nick Thanks for such a quick response. I can&#039;t open the Solution with VS2008 so this is a good time to upgrade to 2010. I&#039;ll report back after the upgrade.</description>
		<content:encoded><![CDATA[<p>@Nick Thanks for such a quick response. I can&#8217;t open the Solution with VS2008 so this is a good time to upgrade to 2010. I&#8217;ll report back after the upgrade.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Riggs</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-691</link>
		<dc:creator>Nick Riggs</dc:creator>
		<pubDate>Tue, 06 Jul 2010 14:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-691</guid>
		<description>@Richard, it must be some kind of configuration issue. Ensure that you are including all the necessary JavaScript files. I replicated the example you gave and have it working, &lt;a href=&quot;http://dl.dropbox.com/u/73019/TestingCheckbox.zip&quot; rel=&quot;nofollow&quot;&gt;here is the full source of the example&lt;/a&gt;. Hope this helps - let me know.</description>
		<content:encoded><![CDATA[<p>@Richard, it must be some kind of configuration issue. Ensure that you are including all the necessary JavaScript files. I replicated the example you gave and have it working, <a href="http://dl.dropbox.com/u/73019/TestingCheckbox.zip" rel="nofollow">here is the full source of the example</a>. Hope this helps &#8211; let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Ayotte</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-690</link>
		<dc:creator>Richard Ayotte</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-690</guid>
		<description>Thank you for this great extension. The only problem that I&#039;ve encountered is with the client side validation. 

For example in my model, I have:

[code]
public bool recur_timely { get; set; }

[RequiredIfTrue(&quot;recur_timely&quot;, ErrorMessage = &quot;* required&quot;)]
public string recur_time_unit_count { get; set; }
[/code]

The client code does not observe the onchange event of the recur_timely checkbox so when recur_timely is false, the recur_time_unit_count error message is not cleared. The error message does clear however when the submit button is clicked.

I have some js skill but I don&#039;t know enough about the MVC Validation to be able to fix the problem or submit a patch yet.</description>
		<content:encoded><![CDATA[<p>Thank you for this great extension. The only problem that I&#8217;ve encountered is with the client side validation. </p>
<p>For example in my model, I have:</p>
<pre class="brush: plain;">
public bool recur_timely { get; set; }

[RequiredIfTrue(&quot;recur_timely&quot;, ErrorMessage = &quot;* required&quot;)]
public string recur_time_unit_count { get; set; }
</pre>
<p>The client code does not observe the onchange event of the recur_timely checkbox so when recur_timely is false, the recur_time_unit_count error message is not cleared. The error message does clear however when the submit button is clicked.</p>
<p>I have some js skill but I don&#8217;t know enough about the MVC Validation to be able to fix the problem or submit a patch yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Build Model-Aware Custom Validation Attributes in ASP.NET MVC 2 - Nick Riggs, Web Developer</title>
		<link>http://www.nickriggs.com/posts/client-side-model-aware-validation/comment-page-1/#comment-609</link>
		<dc:creator>Build Model-Aware Custom Validation Attributes in ASP.NET MVC 2 - Nick Riggs, Web Developer</dc:creator>
		<pubDate>Fri, 18 Jun 2010 22:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickriggs.com/?p=265#comment-609</guid>
		<description>[...] Update: I&#8217;ve posted how to create an accompanying client side validator. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: I&#8217;ve posted how to create an accompanying client side validator. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

