Render dropdown as text for particular action in ASP.NET MVC
- by Dan
I have a partial view that I use for editing and creating my models. When a user is editing the model, I would like a particular drop-down to be rendered as text as I don't want them to change it. A read-only drop-down would suffice, but I'd prefer text.
I'm thinking I can accomplish this via an extension method, but I'm not quite sure how to get started. Any help would be appreciated!