AspNetCore.Docs/aspnet/mvc
james1293 40fd242c7d Fix explanation: setting a default selected option (#2973)
* Fix explanation: setting a default selected option

The current doc treats the second parameter of @Html.DropDownList() as a way to set the default selected option. It gives an example of choosing "Comedy" by default. In fact, the given example creates a second entry that says "Comedy" but has an empty value. I provided a correct example.

* Fix code: setting a default selected option

See commit note on /Docs/aspnet/mvc/overview/getting-started/introduction/adding-search.md
2017-03-15 11:35:29 -10:00
..
mvc3/samples merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
mvc5/_static merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
overview Fix explanation: setting a default selected option (#2973) 2017-03-15 11:35:29 -10:00
pluralsight/_static merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
videos merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
index.md Create deployment node under mvc in asp.net classic toc (#2861) 2017-03-02 11:31:00 -08:00
mvc3.md merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
mvc4.md merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
mvc5.md merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
pluralsight.md merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00