tag:blogger.com,1999:blog-125341290284114978.post7066479630127663444..comments2023-04-23T00:05:10.829-07:00Comments on Guy Ellis' Tech Blog: Setting up a dropdown list in ASP.NET MVCGuy Ellishttp://www.blogger.com/profile/02574435376236977220noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-125341290284114978.post-20973090034348306432012-06-22T11:26:14.000-07:002012-06-22T11:26:14.000-07:00Hi,
I am looking to bind Enum to drop down list in...Hi,<br />I am looking to bind Enum to drop down list in ASP.NET MVC 3.<br />I found this page, can somebody tell me if this is a good way or not. fahadash.rollr.com/.../aspnet-mvc-bindyalenoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-41306642311217322412011-02-18T12:15:01.000-08:002011-02-18T12:15:01.000-08:00Crap article. STOP using ViewData["whatever&...Crap article. STOP using ViewData["whatever"], it is not the right design pattern for proper SoC. Re-write a poper torial that is not duct tape code and can be used by enterprise.Sucksnoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-88969600009757581582010-05-19T05:23:27.000-07:002010-05-19T05:23:27.000-07:00Can u plz provide a source code for this.Can u plz provide a source code for this.Kajalnoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-31995762127044309822010-01-22T10:03:54.000-08:002010-01-22T10:03:54.000-08:00Instead of passing a model to the view with a prop...Instead of passing a model to the view with a property that holds the values for a drop down list I set the data in the ViewData["ModelData"] collection. This is then accessed from the view to retrieve the data. The SelectList is a .NET type.guy ellisnoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-53689307798610319532010-01-22T08:50:14.000-08:002010-01-22T08:50:14.000-08:00What about your model?
Where did you declare "...What about your model?<br />Where did you declare "Select" and "dropDownList" to include them in the model?Tasadim Hasknoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-81631673986831372952010-01-06T15:31:27.000-08:002010-01-06T15:31:27.000-08:00Thank you so much for this article! It was very h...Thank you so much for this article! It was very helpful!Shauna Waltersnoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-7918411996360591762009-07-17T15:14:06.000-07:002009-07-17T15:14:06.000-07:00Thanks a lotThanks a lothueynoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-84222010500574039572009-07-08T13:16:01.000-07:002009-07-08T13:16:01.000-07:00Thanks for the article. Please also check out this...Thanks for the article. Please also check out this article for other methods to bind dropdownlist.<br /> altafkhatri.com/.../How_to_bind_ILiAltaf Khatrinoreply@blogger.com