Enum support for views in ASP.NET MVC 5.1

added by jalpesh
4/27/2014 1:22:13 AM

0 Kicks, 90 Views

Recently before some time Microsoft has announced release of ASP.NET MVC 5.1. It’s comes with tons of feature and Enum support is one of them. In the earlier release of ASP.NET MVC there was no direct support for the Enums and in the views but with ASP.NET MVC 5.1 Microsoft is providing directly @html.EnumDropDownList for which directly creates a dropdown from the Enum itself. So What we are waiting for. Let’s take an example.