<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>Deleting Data</title><link>http://www.asp.net</link><pubDate>Fri, 01 Mar 2013 14:21:35 GMT</pubDate><generator>umbraco</generator><description>Comments for Deleting Data</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/38478" rel="self" type="application/rss+xml" /><item><title>Comment Posted by mr0520</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/deleting-data</link><pubDate>Sat, 02 Jun 2012 08:44:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015650</guid><description><![CDATA[ <p>Isn&#39;t ModelStateDictionary the correct class for the AddFormError method?  Shouldn&#39;t it be  ModelState.AddFormError?  Won&#39;t Validation.AddFormError, as in the code for this tutorial above, result in an exception?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mr0520.jpg?forceidenticon=false&amp;dt=635044699800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/deleting-data</link><pubDate>Tue, 05 Jun 2012 02:07:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015680</guid><description><![CDATA[ <p>Hmm, a versioning issue with the code in the example. Validation.AddFormError is (now, as of RC) a thin wrapper over ModelState.AddFormError. You&#39;re right, tho, that in earlier releases of v2, ModelState.AddFormError is required. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635044699800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/deleting-data</link><pubDate>Fri, 08 Jun 2012 01:47:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015723</guid><description><![CDATA[ <p>I&#39;ve updated the code to show that as of RC you can use Validation.AddFormError, but for Beta you should use ModelState.AddFormError.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635044699800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by foblivio</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/deleting-data</link><pubDate>Fri, 01 Mar 2013 14:21:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018554</guid><description><![CDATA[ <p>Hi Mike</p><p></p><p>I am a very impatient online tutorial sort of person, still prefer paper, but these short tutorials are among the best I&#39;ve encountered in quite a while.</p><p></p><p>-Gavin</p><p></p><p>Can you replace &quot;bracket&quot; in the phrase &quot;add the following code just inside the closing bracket of the @ block&quot; with &quot;brace&quot; instead (and anywhere else too)?  It&#39;s more correct.  Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/foblivio.jpg?forceidenticon=false&amp;dt=635044699800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>