<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>Examining the Edit Methods and Edit View</title><link>http://asp.net</link><pubDate>Mon, 30 Apr 2012 18:47:04 GMT</pubDate><generator>umbraco</generator><description>Comments for Examining the Edit Methods and Edit View</description><language>en</language><atom:link href="http://asp.net/rss/comments/27654" rel="self" type="application/rss+xml" /><item><title>Comment Posted by Brahmam.04</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Wed, 16 Mar 2011 01:27:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012474</guid><description><![CDATA[ <p>Hi All,</p><p>Really nice post... keep on</p><p>Please try to implemt step By step manner then we can get Good idea on this Post.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Brahmam.04.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by safa</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Wed, 08 Jun 2011 18:27:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013461</guid><description><![CDATA[ <p>ok .. all of my paragraph statements here are being consumed .. so here&#39;s another attempt .. wish I had a way to delete my previous comments:</p><p></p><p>correction on my correction .. here&#39;s how it should read</p><p>small correction: VS flags an incompatibility with XHTML for the paragraph markup</p><p>in the @using markup as it embeds a paragraph markup </p><p>inside another paragraph markup</p><p>. Replacing the paragraph markup</p><p>in @using with &lt;span&gt; solves the problem.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/safa.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ricka6</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Thu, 28 Jul 2011 17:21:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013869</guid><description><![CDATA[ <p>safa : VS flags an incompatibility with XHTML - This should be fixed in the next version of VS.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ricka6.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by dwrogers</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Thu, 18 Aug 2011 01:26:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013980</guid><description><![CDATA[ <p>Great tutorial.</p><p></p><p>Warning	1	Validation (XHTML 1.0 Transitional): Element &#39;p&#39; cannot be nested within element &#39;p&#39;.	F:\_code\MvcTutorial\MvcMovie\Views\Movies\SearchIndex.cshtml	13	10	MvcMovie</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/dwrogers.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by k80sg</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Sat, 20 Aug 2011 12:08:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013997</guid><description><![CDATA[ <p>Thanks for this great tutorial. I am abit confused by ViewBags, in the SearchIndex.cshtml, I pass the movieGenre ViewBag from SearchIndex method in the MoviesController like this:</p><p></p><p><p>Genre: @Html.DropDownList(&quot;movieGenre&quot;, &quot;All&quot;) &#160;  </p><p></p><p>but passing the individual View&#39;s ViewBag to the layout I do this instead:</p><p></p><p>&lt;title&gt;@ViewBag.Title&lt;/title&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/k80sg.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by levaif</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Thu, 13 Oct 2011 03:00:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014414</guid><description><![CDATA[ <p>I have an error and I don&#39;t know where i miss something :</p><p>When run the application , at the Genre: @Html.DropDownList(&quot;movieGenre&quot;, &quot;All&quot;) i have this error :</p><p></p><p>There is no ViewData item of type &#39;IEnumerable&lt;SelectListItem&gt;&#39; that has the key &#39;movieGenre&#39;.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/levaif.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jerryzjw</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Wed, 26 Oct 2011 16:19:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014507</guid><description><![CDATA[ <p>I got the same error as levaif: There is no ViewData item of type &#39;IEnumerable&lt;SelectListItem&gt;&#39; that has the key &#39;movieGenre&#39;.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jerryzjw.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ferry2</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Sun, 30 Oct 2011 13:18:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014523</guid><description><![CDATA[ <p>I got this error to: There is no ViewData item of type &#39;IEnumerable&lt;SelectListItem&gt;&#39; that has the key &#39;movieGenre&#39;.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ferry2.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by captain60s</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Wed, 02 Nov 2011 00:55:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014541</guid><description><![CDATA[ <p>Very nice tutorial. I don&#39;t claim to understand the entire EDIT segment, but its a GREAT start.  Thank you.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/captain60s.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by captain60s</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Thu, 03 Nov 2011 03:06:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014550</guid><description><![CDATA[ <p>Works great! Thank you.  </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/captain60s.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by devcesar</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Fri, 04 Nov 2011 10:03:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014557</guid><description><![CDATA[ <p>About the error listed above:</p><p>This line:</p><p>public ActionResult SearchIndex(string movieGenre, string searchString)</p><p>must contain parameter &quot;string movieGenre&quot;.</p><p>I forgot it and thats gives me an error message.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/devcesar.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mzi6040</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 14 Nov 2011 17:37:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014622</guid><description><![CDATA[ <p>About the error listed above</p><p></p><p>Just rebuild the solution, I believe it will work cos it worked for me.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mzi6040.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jeremygrand</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 28 Nov 2011 19:57:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014715</guid><description><![CDATA[ <p>Having a problem finding info on this construct. &quot;Where&quot; is apparently a LINQ method, but where is it documented? &quot;s&quot; appears to be a self-declared string, and &quot;=&gt;&quot; seems to mean &quot;foreach&quot;.  Am I close?</p><p></p><p>Where(s =&gt; s.Title.Contains(searchString))</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/jeremygrand.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by arty3381</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 20 Feb 2012 12:33:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014889</guid><description><![CDATA[ <p>For the error.......There is no ViewData item of type &#39;IEnumerable&lt;SelectListItem&gt;&#39; that has the key &#39;movieGenre&#39;. just remove the all from Genre: @Html.DropDownList(&quot;movieGenre&quot;, &quot;All&quot;)  </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/arty3381.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by arty3381</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 20 Feb 2012 12:36:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014890</guid><description><![CDATA[ <p>Or check the quotation marks in </p><p>Genre: @Html.DropDownList(&quot;movieGenre&quot;, &quot;All&quot;)  </p><p>and make sure they are correct.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/arty3381.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tertl3</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Fri, 24 Feb 2012 07:37:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014931</guid><description><![CDATA[ <p>Hello, when I use the /Movies/SearchIndex?searchString=&lt;string&gt;, My movies are not being filtered?  Any ideas as to why this is happening?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/tertl3.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tertl3</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Fri, 24 Feb 2012 08:00:48 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014933</guid><description><![CDATA[ <p>that last post still stands, but once I added support for {controller}/{action}/{id}, it is working fine with this method.  Really enjoying this tutorial.  Web development is fun :)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/tertl3.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Lison Liou</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 19 Mar 2012 05:23:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015149</guid><description><![CDATA[ <p>wow, i just realized that the Linq is so powerful, thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Lison%20Liou.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by dilbatokiltu</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 19 Mar 2012 22:05:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015155</guid><description><![CDATA[ <p>Hi Rick </p><p>I found your tutorial extremly helpful and enlighting. Thank you very much and please keep on.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/dilbatokiltu.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Oleh.Zheleznyak</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Sat, 07 Apr 2012 05:41:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015274</guid><description><![CDATA[ <p>Thanks for the great tutorial. A couple of things, however, could be improved:</p><p>1) More links to build up theoretical background would help, i.e. links describing the RFC HTTP protocol verbs, and Representational State Transfer</p><p>2) Concerning filtering, the Title and Genre search fields do not act consistently. These conditions are combined using OR logical predicate if only one of them is present, on the other hand AND predicate is used, if both are present</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Oleh.Zheleznyak.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Oleh.Zheleznyak</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Sat, 07 Apr 2012 05:43:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015275</guid><description><![CDATA[ <p>3) Search by genre scenario does not require deferred execution, so GenreLst population could be simplified by using extension methods, i.e. .Select(x=&gt;x.Genre).Distinct().ToList();</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Oleh.Zheleznyak.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by wzone</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Sun, 22 Apr 2012 04:54:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015391</guid><description><![CDATA[ <p>Thanks a lot for all your work!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/wzone.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by justin_cie2</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 23 Apr 2012 00:01:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015392</guid><description><![CDATA[ <p>abit confused how to use complex query in LinQ</p><p>Can I use SQL instead to return the data...?</p><p></p><p>It would be better, if there are also SQL examples along with LinQ examples..</p><p>Thanks for great tutorial =)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/justin_cie2.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Richard Scannell</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Tue, 24 Apr 2012 09:40:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015402</guid><description><![CDATA[ <p>The return HttpnotFound() command opens an &quot;Edit&quot; URL with no data, which also  triggers an error if submitted.   Better to return them to the &quot;Index&quot;...  Better still to add an error message..  which I&#39;ll do when I have worked out how to do it !!!        </p><p></p><p>   if (movie == null)</p><p>            {</p><p>                //  return HttpNotFound();</p><p>                return RedirectToAction(&quot;Index&quot;);</p><p>            }</p><p>            else</p><p>            {</p><p>                return View(movie);</p><p>            }</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Richard%20Scannell.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mjeson</title><link>http://asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/examining-the-edit-methods-and-edit-view</link><pubDate>Mon, 30 Apr 2012 18:47:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015437</guid><description><![CDATA[ <p>Been learning so much so far. Thank you.</p><p>Correction: Controller name should be &quot;Movie&quot; (singular), not &quot;Movies&quot;</p><p></p><p>Incorrect: @using (Html.BeginForm(&quot;SearchIndex&quot;,&quot;Movies&quot;,FormMethod.Get))</p><p>Correct  : @using (Html.BeginForm(&quot;SearchIndex&quot;,&quot;Movie&quot;,FormMethod.Get))</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mjeson.jpg?forceidenticon=false&amp;dt=635051016000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>