I am working with MVC 5 application, and have Enum like this.
public enum Status
{
[Description("Submitted")]
Submitted=1,
[Description("Approved")]
Approved=2,
[Description("Rejected")]
Rejected=3
}
Now want to bind it with the DropDownList directly(means don't want to go from any C# code, directly in @Html.DropDownList).
How it could be possible?
I am using Enum helper class also. Please guide me.