Is there a way to select only a few items from the enumerator to send to a EnumDropDownListFor
?
For example:
public enum Documento
{
CPF = 1,
RG = 2,
CNPJ= 3
NASCIMENTO = 4
}
And I would like that in a given View
, in EnumDropDownListFor
only the first 2 be reported, another View
, the last 2, another 2 the middle, ie that I can choose from some which items will appear in EnumDropDownList