ManuelHollis
New Member
I have the following classes:\[code\]User\[/code\] and \[code\]Medic\[/code\], that inherits from \[code\]User\[/code\].\[code\]User\[/code\] has:\[code\]Id\[/code\], \[code\]Name\[/code\]...\[code\]Medic\[/code\] has:\[code\]Crm\[/code\] (numeric value)...In a view, I want do display a DropdownList with Medic's \[code\]Id\[/code\] for options value, and \[code\]Name\[/code\] (inherited) for display... But using \[code\]@Html.DropDownList("MedicId")\[/code\] I have, for default, the \[code\]Crm\[/code\] property being displayed.Someone knows a way to set the display property to \[code\]Name\[/code\]?