<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>Creating a MVC 3 Application with Razor and Unobtrusive JavaScript</title><link>http://asp.net</link><pubDate>Fri, 15 Apr 2011 03:35:42 GMT</pubDate><generator>umbraco</generator><description>Comments for Creating a MVC 3 Application with Razor and Unobtrusive JavaScript</description><language>en</language><atom:link href="http://asp.net/rss/comments/27548" rel="self" type="application/rss+xml" /><item><title>Comment Posted by bminer1</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Wed, 17 Nov 2010 16:00:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010976</guid><description><![CDATA[ <p>In the step editing Edit.cshtml, I didn&#39;t see a TextBoxFor line, but instead an EditorFor line.  I assume it&#39;s the same thing - a last minute name change in Asp.NET MVC 3?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/bminer1.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MattEvans</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Sat, 27 Nov 2010 09:33:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011067</guid><description><![CDATA[ <p>I am getting this error:</p><p></p><p><a rel="nofollow" href="http://stackoverflow.com/questions/3921678/asp-net-mvc-3-beta-1-block-access-to-razor-views" target="_blank">stackoverflow.com/</a></p><p></p><p>I have tried the ignoreRoutes and rewriteRules suggestions, but they don&#39;t help.</p><p></p><p>Windows 7 64 bit / IIS 7.5 </p><p></p><p>Any pointers appreciated.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/MattEvans.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pradip.bobhate</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Wed, 01 Dec 2010 03:29:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011089</guid><description><![CDATA[ <p>Very nicely explained.</p><p></p><p>MVC application does not have ViewState</p><p></p><p>So is &#39;@Html.Hidden(&quot;UserName&quot;, Model.UserName) &#39; is replacement of Hidden field</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/pradip.bobhate.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rworrell</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Wed, 08 Dec 2010 13:49:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011150</guid><description><![CDATA[ <p>I got to the step where I create the first view, but when I clicked the &quot;Add&quot; button, I got an error that said:</p><p></p><p>Unable to add &#39;Index.cshtml&#39;. A file with that name already exists.</p><p></p><p>Wazzup?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rworrell.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rworrell</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Wed, 08 Dec 2010 18:57:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011153</guid><description><![CDATA[ <p>Never mind... I just deleted the Index.cshtml file and it worked fine.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rworrell.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Tubber</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Sat, 11 Dec 2010 05:24:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011177</guid><description><![CDATA[ <p>Very nice tutorial, though I find it a bit lacking in the explanations of the &#39;why&#39;. Reminds me of a cooking recipe.</p><p></p><p>Also, there&#39;s a problem with the scope of &#39;ViewModel&#39; in the methods for creating and editting (e.g. ViewModel.updateError = &quot;Update Failure&quot;;).</p><p></p><p>Not sure if it&#39;s a mistake on my part or what, so any pointers would be appreciated.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Tubber.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by justinsoliz</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Sun, 12 Dec 2010 16:08:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011186</guid><description><![CDATA[ <p>@Tubber ViewModel.updateError = ViewBag.updateError as of RC2.</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/justinsoliz.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mindscratch</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Mon, 13 Dec 2010 18:23:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011190</guid><description><![CDATA[ <p>I have a similar problem to Tubber - error </p><p></p><p>The name &#39;ViewModel&#39; does not exist in the current context</p><p></p><p>Can comment it out to compile but wondering if I&#39;m doing anything wrong/something missing ?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/mindscratch.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by YudiHerman</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 14 Dec 2010 19:17:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011199</guid><description><![CDATA[ <p>ViewModel has been renamed to ViewBag</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/YudiHerman.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mindscratch</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Wed, 15 Dec 2010 01:49:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011201</guid><description><![CDATA[ <p>Thanks Yudi</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/mindscratch.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nikhilhs</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Mon, 27 Dec 2010 14:33:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011321</guid><description><![CDATA[ <p>I&#39;ve gotten client side model validation working in IE8.  Are there any changes I need to make to get this working in Chrome 8?  Server side works out of the box with both IE8 and Chrome 8.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/nikhilhs.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pcyoung</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Sat, 01 Jan 2011 22:07:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011391</guid><description><![CDATA[ <p>Ok, I have a newbie question... If I have a seperate SQL database which is only accessible by stored procedures (corporate policy) 1.) would I change the Users initialization method with something like: </p><p>_usrList = MyApp.Models.usp_GetSomeUsers(&quot;Active&quot;).ToList();</p><p></p><p>2.) If yes, will this list be persistant for the entire session or will it keep pulling it for every unique user/page hit?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/pcyoung.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MysticSha</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 18 Jan 2011 08:03:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011594</guid><description><![CDATA[ <p>I the step editing Edit.cshtml, I didn&#39;t see a TextBoxFor line, but instead an EditorFor line. I&#39;m kind of stuck here. Can someone help me with it?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/MysticSha.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by logchem</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Thu, 03 Feb 2011 10:54:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011912</guid><description><![CDATA[ <p>@MysticSha</p><p></p><p>        &lt;div class=&quot;editor-field&quot;&gt;</p><p>        @*</p><p>            @Html.TextBoxFor(model =&gt; model.UserName)</p><p>            @Html.ValidationMessageFor(model =&gt; model.UserName)</p><p>        *@</p><p>            @Html.DisplayFor(model =&gt; model.UserName)</p><p>        &lt;/div&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/logchem.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pradeepchan</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Sat, 12 Feb 2011 21:00:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012030</guid><description><![CDATA[ <p>Very nice article.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/pradeepchan.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by crazycrzay</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 15 Feb 2011 21:51:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012083</guid><description><![CDATA[ <p>Theres a mistake when creating a Edit view. </p><p>Its not ViewModel, but ViewBag !!!!!!!!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/crazycrzay.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by crazycrzay</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 15 Feb 2011 22:10:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012085</guid><description><![CDATA[ <p>This tutorial has so many errors in it, its almost not worth doing. </p><p>I understand that things get updated, but for crying out loud...update the tutorial then!!!!!!!!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/crazycrzay.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Lee Dumond</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Sat, 19 Feb 2011 19:31:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012146</guid><description><![CDATA[ <p>Wow. This has got to be the worst tutorial EVER. Whoever wrote this should seriously be fired.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Lee%20Dumond.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by malduin.james</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 22 Feb 2011 11:53:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012177</guid><description><![CDATA[ <p>Tutorial does not work and/or is not accurate with latest MVC3 install as of 2/22/2011.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/malduin.james.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tjvader</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 01 Mar 2011 02:42:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012281</guid><description><![CDATA[ <p>Wonderful tutorial. Ran into some of the previously noted errors in code but figured it out on my own. After going back and reading several points especially during the Edit view portion, I enjoyed seeing a finished successful tutorial! Thanks this really helps me to understand all of the behind the scenes goings on for this new Framework. I&#39;ll probably have to stop &amp; bring myself up to snuff on the &quot;HTML HELPER&quot; portion though. If someone can point to a good straighforward tutorial like this one, please don&#39;t hesitate in letting me know . . .</p><p></p><p>Thanks . . . .</p><p>TomJ</p><p></p><p>Thanks again</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/tjvader.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by M_aar</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Thu, 03 Mar 2011 12:12:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012330</guid><description><![CDATA[ <p>Excellent tutorial. From now let&lt;%= html to more @html. Also the way the Users model is created paves the way for EF first-code.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/M_aar.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gophfy</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 08 Mar 2011 19:56:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012396</guid><description><![CDATA[ <p>Good tutorial, as mentioned ViewModel is replaced with ViewBag and TextBoxFor is EditorFor instead.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/gophfy.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by varunmaggo</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Tue, 29 Mar 2011 10:05:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012640</guid><description><![CDATA[ <p>Amazing! there are few bugs but its certainly worth the time we spend on it :)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/varunmaggo.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by eXtension</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Wed, 06 Apr 2011 03:29:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012724</guid><description><![CDATA[ <p>Sad to say, this tutorial is useless with latest MVC3 installation. Adding the Edit/Delete/Details ActionLink doesn&#39;t even work. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/eXtension.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Lassie</title><link>http://asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</link><pubDate>Fri, 15 Apr 2011 03:35:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012822</guid><description><![CDATA[ <p>I&#39;m sorry.</p><p>But following tutorial, the &quot;Add View&quot; shown form is quite different.</p><p>I can&#39;t get the &quot;Create strongly typed view&quot; check box, and I can&#39;t select the viw data class.</p><p>Here you can find the pic of the form.</p><p><a rel="nofollow" href="http://ilsensodeigiorni.altervista.org/wp-content/uploads/2011/04/View1-300x295.jpg" target="_blank">ilsensodeigiorni.altervista.org/</a></p><p>Someone can help me?</p><p></p><p>Thank you</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Lassie.jpg?forceidenticon=false&amp;dt=635048515800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>