<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Validating User Input in ASP.NET Web Pages Sites</title><link>http://asp.net</link><pubDate>Sun, 02 Sep 2012 09:37:59 GMT</pubDate><generator>umbraco</generator><description>Comments for Validating User Input in ASP.NET Web Pages Sites</description><language>en</language><atom:link href="http://asp.net/rss/comments/38601" rel="self" type="application/rss+xml" /><item><title>Comment Posted by justin_cie2</title><link>http://asp.net/web-pages/tutorials/working-with-pages/validating-user-input-in-aspnet-web-pages-sites</link><pubDate>Thu, 05 Jul 2012 02:25:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015916</guid><description><![CDATA[ <p>Hi Mike,</p><p>can u give us an example of validating email using Validator.RegEx(pattern [, error message]) ?</p><p>Thx for posting nice tutorial =)</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/justin_cie2.jpg?forceidenticon=false&amp;dt=635048541000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by proks</title><link>http://asp.net/web-pages/tutorials/working-with-pages/validating-user-input-in-aspnet-web-pages-sites</link><pubDate>Wed, 18 Jul 2012 19:38:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016007</guid><description><![CDATA[ <p>Hey Mike,</p><p></p><p>in Web Pages 2 RC the @Validation.For(&quot;firstname&quot;) and @Validation.ClassFor(&quot;firstname&quot;) do not work.  You get the error:  </p><p>Compiler Error Message: CS0117: &#39;System.Web.Helpers.Validation&#39; does not contain a definition for &#39;For&#39;</p><p></p><p>and</p><p></p><p>Compiler Error Message: CS0117: &#39;System.Web.Helpers.Validation&#39; does not contain a definition for &#39;ClassFor&#39;</p><p></p><p>How can we use these examples?  Is there a workaround?</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/proks.jpg?forceidenticon=false&amp;dt=635048541000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sophia_asp</title><link>http://asp.net/web-pages/tutorials/working-with-pages/validating-user-input-in-aspnet-web-pages-sites</link><pubDate>Sun, 02 Sep 2012 09:37:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016364</guid><description><![CDATA[ <p>good, but can we achieve the same in web forms in asp.net 4.0?</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/sophia_asp.jpg?forceidenticon=false&amp;dt=635048541000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>