Group DropDownList Options in ASP.NET Core

This blog explains how to group options in a DropDownList in ASP.NET Core. Let’s look at it with an example. This example is going to bind the list of movie names grouped by the release year with the Selected Tag Helper. The following is the MyViewModelSample class. It has two properties, SelectedMovieID and MoviesList. The… Continue reading Group DropDownList Options in ASP.NET Core