<?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 #3: Client-side form validation made easy &#8211; Part 1</title>
	<atom:link href="http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/feed/" rel="self" type="application/rss+xml" />
	<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/</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: Parminder</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-529</link>
		<dc:creator>Parminder</dc:creator>
		<pubDate>Tue, 13 Apr 2010 13:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-529</guid>
		<description>Hi Adrian,

Thanks a lot for your help and support. As I was working on this project just for learning and not for doing any major development and not in the situation to hire you. But definately if I need your furthur help, I will hire you. 

thanks again for the codes and the mails. 

Regards
Parminder</description>
		<content:encoded><![CDATA[<p>Hi Adrian,</p>
<p>Thanks a lot for your help and support. As I was working on this project just for learning and not for doing any major development and not in the situation to hire you. But definately if I need your furthur help, I will hire you. </p>
<p>thanks again for the codes and the mails. </p>
<p>Regards<br />
Parminder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-528</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Tue, 13 Apr 2010 11:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-528</guid>
		<description>@Parminder: I&#039;m sorry, but my schedule does not permit debugging your project. The demo project provided with this article worked fine at the time I released it (namely with ASP.NET MVC which was still the standard then). I am using the same approach in my current project with ASP.NET MVC 2, so the basic principle shown here is still working. But unless you would like to hire me to help you, I&#039;m afraid you will have to figure out the details yourself. </description>
		<content:encoded><![CDATA[<p>@Parminder: I&#8217;m sorry, but my schedule does not permit debugging your project. The demo project provided with this article worked fine at the time I released it (namely with ASP.NET MVC which was still the standard then). I am using the same approach in my current project with ASP.NET MVC 2, so the basic principle shown here is still working. But unless you would like to hire me to help you, I&#8217;m afraid you will have to figure out the details yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parminder</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-527</link>
		<dc:creator>Parminder</dc:creator>
		<pubDate>Tue, 13 Apr 2010 10:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-527</guid>
		<description>Hi Adrian,
I sent you and email with the test project. The project doesnt even compile. I also updated xVal version to the latest one. I was reading the RTM doc which say.

Changes in ASP.NET MVC 2 Beta
The IValueProvider interface replaces all uses of IDictionary
Every property or method argument that accepted IDictionary now accepts IValueProvider. This change affects only applications that include custom value providers or custom model binders.

This might be the reason. 
Error	6	The type arguments for method &#039;System.Linq.Enumerable.Count(System.Collections.Generic.IEnumerable)&#039; cannot be inferred from the usage. Try specifying the type arguments explicitly.	D:\Development\SellYourOldBooks\source\SellYourOldBooksWeb\SellYourOldBooksWeb\Models\DataAnnotationsModelBinder\DataAnnotationsModelBinder.cs	73	41	SellYourOldBooksWeb



Thanks
Parminder</description>
		<content:encoded><![CDATA[<p>Hi Adrian,<br />
I sent you and email with the test project. The project doesnt even compile. I also updated xVal version to the latest one. I was reading the RTM doc which say.</p>
<p>Changes in ASP.NET MVC 2 Beta<br />
The IValueProvider interface replaces all uses of IDictionary<br />
Every property or method argument that accepted IDictionary now accepts IValueProvider. This change affects only applications that include custom value providers or custom model binders.</p>
<p>This might be the reason.<br />
Error	6	The type arguments for method &#8216;System.Linq.Enumerable.Count(System.Collections.Generic.IEnumerable)&#8217; cannot be inferred from the usage. Try specifying the type arguments explicitly.	D:\Development\SellYourOldBooks\source\SellYourOldBooksWeb\SellYourOldBooksWeb\Models\DataAnnotationsModelBinder\DataAnnotationsModelBinder.cs	73	41	SellYourOldBooksWeb</p>
<p>Thanks<br />
Parminder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-526</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Tue, 13 Apr 2010 08:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-526</guid>
		<description>@Parminder: You might also have to remove the model binder with from the demo project so that the default model binder from MVC 2 becomes active. If that does not work, try updating the xVal version.</description>
		<content:encoded><![CDATA[<p>@Parminder: You might also have to remove the model binder with from the demo project so that the default model binder from MVC 2 becomes active. If that does not work, try updating the xVal version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parminder</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-525</link>
		<dc:creator>Parminder</dc:creator>
		<pubDate>Tue, 13 Apr 2010 03:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-525</guid>
		<description>Hi Adrian,

It shows problem with the extension methods (DoesAnyKeyHavePrefix,FindKeysWithPrefix
here are the lines whre problem exists. 

if (bindingContext.ValueProvider.DoesAnyKeyHavePrefix(fullPropertyKey))
var keys = bindingContext.ValueProvider.FindKeysWithPrefix(fullPropertyKey);
if (keys != null &amp;&amp; keys.Count() &gt; 0)
modelState = bindingContext.ModelState[keys.First().Key];


I updated your project to mvc2 and then even that was not working. 
Your help will be appreciated. 

Regards
Parminder</description>
		<content:encoded><![CDATA[<p>Hi Adrian,</p>
<p>It shows problem with the extension methods (DoesAnyKeyHavePrefix,FindKeysWithPrefix<br />
here are the lines whre problem exists. </p>
<p>if (bindingContext.ValueProvider.DoesAnyKeyHavePrefix(fullPropertyKey))<br />
var keys = bindingContext.ValueProvider.FindKeysWithPrefix(fullPropertyKey);<br />
if (keys != null &amp;&amp; keys.Count() &gt; 0)<br />
modelState = bindingContext.ModelState[keys.First().Key];</p>
<p>I updated your project to mvc2 and then even that was not working.<br />
Your help will be appreciated. </p>
<p>Regards<br />
Parminder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-524</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Mon, 12 Apr 2010 18:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-524</guid>
		<description>@Parminder: Basically it works fine with MVC2 (I&#039;ve been using it that way for 2 months now), you just need to recompile the solution with the new system.web.mvc.dll.</description>
		<content:encoded><![CDATA[<p>@Parminder: Basically it works fine with MVC2 (I&#8217;ve been using it that way for 2 months now), you just need to recompile the solution with the new system.web.mvc.dll.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parminder</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-523</link>
		<dc:creator>Parminder</dc:creator>
		<pubDate>Mon, 12 Apr 2010 17:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-523</guid>
		<description>Hi Adrian,

Nice work. I tried to use your code with asp.net mvc 2. But it doesnt work coz differnent version of system.web.mvc. Is there any fix for it. 

Regards
Parminder</description>
		<content:encoded><![CDATA[<p>Hi Adrian,</p>
<p>Nice work. I tried to use your code with asp.net mvc 2. But it doesnt work coz differnent version of system.web.mvc. Is there any fix for it. </p>
<p>Regards<br />
Parminder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET MVC Tip #4: Client-side form validation made easy &#8211; Part 2 &#124; devermind.com</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-391</link>
		<dc:creator>ASP.NET MVC Tip #4: Client-side form validation made easy &#8211; Part 2 &#124; devermind.com</dc:creator>
		<pubDate>Mon, 11 Jan 2010 13:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-391</guid>
		<description>[...] my previous article about ASP.NET MVC Client-Side validation, I showed how to set up your project so that you [...]</description>
		<content:encoded><![CDATA[<p>[...] my previous article about ASP.NET MVC Client-Side validation, I showed how to set up your project so that you [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Grigore</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-381</link>
		<dc:creator>Adrian Grigore</dc:creator>
		<pubDate>Sat, 12 Dec 2009 09:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-381</guid>
		<description>@Olivier: Yes, that&#039;s what I mean by entity-based validation. I am going to show this in the next article. I had planned to write this MUCH earlier, but lately I am very busy at work...</description>
		<content:encoded><![CDATA[<p>@Olivier: Yes, that&#8217;s what I mean by entity-based validation. I am going to show this in the next article. I had planned to write this MUCH earlier, but lately I am very busy at work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier</title>
		<link>http://devermind.com/aspnet-mvc/asp-net-mvc-tip-3-how-to-cover-all-your-client-side-form-validation-needs-without-writing-any-javascript-part1/comment-page-1/#comment-380</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Fri, 11 Dec 2009 22:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://devermind.com/?p=152#comment-380</guid>
		<description>Hi Adrian,
it is a good one too ;-).  Did you manage to solve this issue: when a user change some of his information but not is email, the validation return an error because the email is already used (email value display on form = email stored in the repository).  so basically if we take the assumption that the username cannot change once a user is created, any update operation could validate against it. So if a user update his profile,  2 pieces of information need to be sent over the server  email + username when the email field validation occurs. So if the email value sent for uniqueness validation match the current username no error message should be triggered.</description>
		<content:encoded><![CDATA[<p>Hi Adrian,<br />
it is a good one too <img src='http://devermind.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .  Did you manage to solve this issue: when a user change some of his information but not is email, the validation return an error because the email is already used (email value display on form = email stored in the repository).  so basically if we take the assumption that the username cannot change once a user is created, any update operation could validate against it. So if a user update his profile,  2 pieces of information need to be sent over the server  email + username when the email field validation occurs. So if the email value sent for uniqueness validation match the current username no error message should be triggered.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
