<?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: ASP.NET MVC Tip #4: Client-side form validation made easy &#8211; Part 2</title>
	<atom:link href="http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/</link>
	<description>Adrian Grigore's software development weblog. Motto: I will not waste my time looking for a clever motto.</description>
	<lastBuildDate>Fri, 03 Sep 2010 13:31:04 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ravi Kiran</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/comment-page-1/#comment-581</link>
		<dc:creator>Ravi Kiran</dc:creator>
		<pubDate>Sat, 21 Aug 2010 12:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=219#comment-581</guid>
		<description>Hey , 
I got a typical Issue.
I m using Client side validations for ASP.NET MVC Application but while Hosting Application on IIS7.0 Client side validations were not working .However the same Client Validations are working on the Visual Studio Development Server 2010.

Need a Solution.</description>
		<content:encoded><![CDATA[<p>Hey ,<br />
I got a typical Issue.<br />
I m using Client side validations for ASP.NET MVC Application but while Hosting Application on IIS7.0 Client side validations were not working .However the same Client Validations are working on the Visual Studio Development Server 2010.</p>
<p>Need a Solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: newbie</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/comment-page-1/#comment-515</link>
		<dc:creator>newbie</dc:creator>
		<pubDate>Wed, 10 Mar 2010 11:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=219#comment-515</guid>
		<description>Hi,

I use asp.net mvc 2 beta 2, I cant compile the project. Maybe bindingContext.ValueProvider change in asp.net mvc 2 beta 2. If you have spare time, would you please update the code with the latest version. Thank you very much.

newbie</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I use asp.net mvc 2 beta 2, I cant compile the project. Maybe bindingContext.ValueProvider change in asp.net mvc 2 beta 2. If you have spare time, would you please update the code with the latest version. Thank you very much.</p>
<p>newbie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/comment-page-1/#comment-510</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Fri, 26 Feb 2010 07:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=219#comment-510</guid>
		<description>My approach also uses jquery.validate for the client side. The difference to your approach is that you are writing client-side validation rules separately in javascript whereas my approach generates these from your model definition for you. 

This is not only less effort, but also less error prone since means that even if you add some more validation rules or some new properties to your model, client-side validation always stays up to date automatically.</description>
		<content:encoded><![CDATA[<p>My approach also uses jquery.validate for the client side. The difference to your approach is that you are writing client-side validation rules separately in javascript whereas my approach generates these from your model definition for you. </p>
<p>This is not only less effort, but also less error prone since means that even if you add some more validation rules or some new properties to your model, client-side validation always stays up to date automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Ceranski</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/comment-page-1/#comment-509</link>
		<dc:creator>Michael Ceranski</dc:creator>
		<pubDate>Thu, 25 Feb 2010 23:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=219#comment-509</guid>
		<description>I prefer doing client side validation with jquery and the validator plugin. It is so easy to use and has built in pattern matching for email, credit cards, urls and more. See my blog post for more details: http://www.codecapers.com/post/Client-Side-Validation-with-jQuery.aspx</description>
		<content:encoded><![CDATA[<p>I prefer doing client side validation with jquery and the validator plugin. It is so easy to use and has built in pattern matching for email, credit cards, urls and more. See my blog post for more details: <a href="http://www.codecapers.com/post/Client-Side-Validation-with-jQuery.aspx" rel="nofollow">http://www.codecapers.com/post/Client-Side-Validation-with-jQuery.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/comment-page-1/#comment-450</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Thu, 28 Jan 2010 11:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=219#comment-450</guid>
		<description>@Jerad: The reason that my version of the DataAnnotations is 99.0.0.0 is that I downloaded it and compiled it from source when it was first released. I had no problems with it (other than the one described in part 1 of my artcle), so I stuck with it so far. 

I&#039;m not sure why client-side validation no longer works when you exchange it. If server-side validation is still working it can&#039;t be missing support for buddy classes. 

Have you checked the client-side code that&#039;s  generated by xVal? If it corresponds to your validation attributes, then the problem is on the client side. If not, then something&#039;s wrong with the data annotations and my next step would be to compile xVal and the DataAnnotationsModelbinder from source and debug it to see what exactly is not working.</description>
		<content:encoded><![CDATA[<p>@Jerad: The reason that my version of the DataAnnotations is 99.0.0.0 is that I downloaded it and compiled it from source when it was first released. I had no problems with it (other than the one described in part 1 of my artcle), so I stuck with it so far. </p>
<p>I&#8217;m not sure why client-side validation no longer works when you exchange it. If server-side validation is still working it can&#8217;t be missing support for buddy classes. </p>
<p>Have you checked the client-side code that&#8217;s  generated by xVal? If it corresponds to your validation attributes, then the problem is on the client side. If not, then something&#8217;s wrong with the data annotations and my next step would be to compile xVal and the DataAnnotationsModelbinder from source and debug it to see what exactly is not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerad Rose</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-4-client-side-form-validation-made-easy-part-2/comment-page-1/#comment-437</link>
		<dc:creator>Jerad Rose</dc:creator>
		<pubDate>Mon, 25 Jan 2010 23:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=219#comment-437</guid>
		<description>Thanks, Adrian, for your work on this and for the examples.  This sounds exactly like what we&#039;re looking for.  However, I&#039;m having a problem with the version of System.ComponentModel.DataAnnotations that you&#039;re using.  

The version in your sample project is 99.0.0.0, but in mine, it&#039;s 1.0.0.0.  Whenever I try to add this to my project (without changing anything else), my client-side validation no longer works.  I&#039;m referring to the basic validation that&#039;s built into xVal, I&#039;m not even to the point of trying the custom server side stuff yet.

I would use the older version of DataAnnotations, but your code uses some of the newer features.

Here&#039;s some other info:

jQuery - 1.4
jQuery Validate - 1.6
xVal - 1.0 (I notice your project uses 0.8, but reverting to that did not solve my issues)
MVC - 1.0

Any ideas?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Thanks, Adrian, for your work on this and for the examples.  This sounds exactly like what we&#8217;re looking for.  However, I&#8217;m having a problem with the version of System.ComponentModel.DataAnnotations that you&#8217;re using.  </p>
<p>The version in your sample project is 99.0.0.0, but in mine, it&#8217;s 1.0.0.0.  Whenever I try to add this to my project (without changing anything else), my client-side validation no longer works.  I&#8217;m referring to the basic validation that&#8217;s built into xVal, I&#8217;m not even to the point of trying the custom server side stuff yet.</p>
<p>I would use the older version of DataAnnotations, but your code uses some of the newer features.</p>
<p>Here&#8217;s some other info:</p>
<p>jQuery &#8211; 1.4<br />
jQuery Validate &#8211; 1.6<br />
xVal &#8211; 1.0 (I notice your project uses 0.8, but reverting to that did not solve my issues)<br />
MVC &#8211; 1.0</p>
<p>Any ideas?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
