<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  how  ASP.NET MVC scaffolds the DropDownList Helper</title><link>http://asp.net</link><pubDate>Wed, 22 May 2013 13:38:02 GMT</pubDate><generator>umbraco</generator><description>Comments for Examining  how  ASP.NET MVC scaffolds the DropDownList Helper</description><language>en</language><atom:link href="http://asp.net/rss/comments/36833" rel="self" type="application/rss+xml" /><item><title>Comment Posted by peterkao87</title><link>http://asp.net/mvc/tutorials/javascript/working-with-the-dropdownlist-box-and-jquery/examining-how-aspnet-mvc-scaffolds-the-dropdownlist-helper</link><pubDate>Sat, 07 Apr 2012 17:56:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015276</guid><description><![CDATA[ <p>I am trying out this tutorial now.  For the view model solution, it seems the POST action method is missing.  I created it as below, and tested. The modified data was saved. Now I can move to the next. </p><p>Peter</p><p>April 7, 2012</p><p>        //</p><p>        // POST: /StoreManager/EditVM/115</p><p>        [HttpPost]</p><p>        public ActionResult EditVM(Album album)</p><p>        {</p><p>            </p><p>            if (ModelState.IsValid)</p><p>            {</p><p>                db.Entry(album).State = EntityState.Modified;</p><p>                db.SaveChanges();</p><p>                return RedirectToAction(&quot;Index&quot;);</p><p>            }</p><p>            AlbumSelectListViewModel aslvm </p><p>                = new AlbumSelectListViewModel(album, db.Artists, db.Genres);</p><p>            return View(aslvm);</p><p></p><p>        }</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/peterkao87.jpg?forceidenticon=false&amp;dt=635072118600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by NestorUP</title><link>http://asp.net/mvc/tutorials/javascript/working-with-the-dropdownlist-box-and-jquery/examining-how-aspnet-mvc-scaffolds-the-dropdownlist-helper</link><pubDate>Wed, 22 May 2013 13:38:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019154</guid><description><![CDATA[ <p>This error is appearing to me while adding the controller</p><p></p><p>Unable to retrieve metadata for &#39;MvcMusicStore.Models.Album&#39;. Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/NestorUP.jpg?forceidenticon=false&amp;dt=635072118600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>