<?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: Creating a contact form with ASP.NET MVC</title>
	<atom:link href="http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-a-contact-form-with-asp-net-mvc</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 12:21:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: P11D</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-7225</link>
		<dc:creator>P11D</dc:creator>
		<pubDate>Sat, 13 Aug 2011 23:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-7225</guid>
		<description>@Paul

Razor:

 @{Html.EnableClientValidation();}
                @using (Ajax.BeginForm(new AjaxOptions { HttpMethod = &quot;Post&quot;, OnComplete = &quot;Contact.onComplete&quot; }))
                {
                    Html.ValidationSummary(true, &quot;A few fields are still empty&quot;);
                }</description>
		<content:encoded><![CDATA[<p>@Paul</p>
<p>Razor:</p>
<p> @{Html.EnableClientValidation();}<br />
                @using (Ajax.BeginForm(new AjaxOptions { HttpMethod = &#8220;Post&#8221;, OnComplete = &#8220;Contact.onComplete&#8221; }))<br />
                {<br />
                    Html.ValidationSummary(true, &#8220;A few fields are still empty&#8221;);<br />
                }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suze</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6978</link>
		<dc:creator>Suze</dc:creator>
		<pubDate>Tue, 24 May 2011 13:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6978</guid>
		<description>Nice clean solution. Thank you.</description>
		<content:encoded><![CDATA[<p>Nice clean solution. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Cone</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6865</link>
		<dc:creator>Terry Cone</dc:creator>
		<pubDate>Sat, 07 May 2011 01:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6865</guid>
		<description>Great information.
If you have time would you please explain how to add the code that will actually send the email.
I really appreciate your time.
Cheers,
Terry</description>
		<content:encoded><![CDATA[<p>Great information.<br />
If you have time would you please explain how to add the code that will actually send the email.<br />
I really appreciate your time.<br />
Cheers,<br />
Terry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lady Z</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6829</link>
		<dc:creator>Lady Z</dc:creator>
		<pubDate>Fri, 01 Apr 2011 10:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6829</guid>
		<description>What is the m variable for? You never explained it in this tutorial (which was, otherwise, very good).</description>
		<content:encoded><![CDATA[<p>What is the m variable for? You never explained it in this tutorial (which was, otherwise, very good).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6816</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 16 Mar 2011 10:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6816</guid>
		<description>Nice but I stuck by doing all this sftuff in razor I get compilation error on this line:

@Html.EnableClientValidation();

what I&#039;m doing wrong? or this can&#039;t be used for razor?
Thanks</description>
		<content:encoded><![CDATA[<p>Nice but I stuck by doing all this sftuff in razor I get compilation error on this line:</p>
<p>@Html.EnableClientValidation();</p>
<p>what I&#8217;m doing wrong? or this can&#8217;t be used for razor?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hardy Wang</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6815</link>
		<dc:creator>Hardy Wang</dc:creator>
		<pubDate>Wed, 16 Mar 2011 02:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6815</guid>
		<description>Very nice, exactly what I am looking for. Thanks!</description>
		<content:encoded><![CDATA[<p>Very nice, exactly what I am looking for. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6766</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sun, 20 Feb 2011 18:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6766</guid>
		<description>Very nice, clean, clear tutorial. Excellent work, thanks!</description>
		<content:encoded><![CDATA[<p>Very nice, clean, clear tutorial. Excellent work, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roman</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-6751</link>
		<dc:creator>roman</dc:creator>
		<pubDate>Fri, 18 Feb 2011 11:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-6751</guid>
		<description>nice, will use this for my website :)

however, your solution allowed me to fill in &quot;r&quot; in the email address field. therefore I added this regex check in the contact model for the email address:

[RegularExpression(@&quot;[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}&quot;, ErrorMessage = &quot;Your email address contains some errors.&quot;)]</description>
		<content:encoded><![CDATA[<p>nice, will use this for my website <img src='http://www.frederikvig.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>however, your solution allowed me to fill in &#8220;r&#8221; in the email address field. therefore I added this regex check in the contact model for the email address:</p>
<p>[RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}&#8221;, ErrorMessage = &#8220;Your email address contains some errors.&#8221;)]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://www.frederikvig.com/2010/05/creating-a-contact-form-with-asp-net-mvc/comment-page-1/#comment-1597</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Tue, 17 Aug 2010 14:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.frederikvig.com/?p=1239#comment-1597</guid>
		<description>Hi Frederick, 
I&#039;ve tried to replicate this but i get a 404 error when I try to navigate to my contact page. 

Also I had to add a couple of declarations to HomeController.cs:-
using .model;
using System.text;

If I comment out &#039;[HttpPost]&#039; in  the HomeController, the page displays but with all of ther error messages showing.
Where do i put the address to send the email to, and or any CC or BCC options?
Can you please advise.

thanks in advance

Roger</description>
		<content:encoded><![CDATA[<p>Hi Frederick,<br />
I&#8217;ve tried to replicate this but i get a 404 error when I try to navigate to my contact page. </p>
<p>Also I had to add a couple of declarations to HomeController.cs:-<br />
using .model;<br />
using System.text;</p>
<p>If I comment out &#8216;[HttpPost]&#8216; in  the HomeController, the page displays but with all of ther error messages showing.<br />
Where do i put the address to send the email to, and or any CC or BCC options?<br />
Can you please advise.</p>
<p>thanks in advance</p>
<p>Roger</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
