How to create a DropDownList with ASP.NET MVC

Posted by: Code Climber, on 10 Aug 2009 | View original | Bookmarked: 0 time(s)

The DropDownList html helper differs a bit from the standard Html helper methods, and, not surprisingly, the way it works is one of the questions I get asked the most. So in this post Im going to dissect this method, and show you how to use it. Standard Html Helpers One of the cool features of ASP.NET MVC is the automatic binding of html form fields: all the Html helper methods will auto-magically take the default value of the form field directly from the ViewData or the view model object with...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 4466 | Hits: 671

Similar Posts

  • MSDN Guidance on ASP.NET MVC vs WebForms and its Impact on my EF + ASP.NET Work more
  • November's Toolbox Column Now Online more
  • Html Encoding Nuggets With ASP.NET MVC 2 more
  • SOLUTION: JSLint.VS Add-In Always Reports "No Errors" Even For Invalid JavaScript Files more
  • ASP.NET MVC2 Preview 2: Areas and Routes more
  • SW Florida Code Camp 2009 wrap-up more
  • MvcContrib working on Portable Areas more
  • Using Seadragon with ASP.NET MVC more
  • Serialising Microsoft StreamInsight QueryTemplates more
  • Working on Silverlight .NET RIA Services Part 2 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD