Adding global blank option to DroDownList in MVC
- by Diegos Grace
Is there a way of using a templated helper in mvc so that each and every select list in my project has a custom default 'Choose an option' with null value etc.
The posts I have seen seem a little complex, is it possible to have a DropDownList.ascx file in shared view folder with something like this:
<%@ Control Language="C#"…