Try this
Html.DropDownList("Types", Model.Types, new { @disabled = "disabled" })
More Related Contents:
- Using Ajax.BeginForm with ASP.NET MVC 3 Razor
- How to simulate Server.Transfer in ASP.NET MVC?
- Unity Inject dependencies into MVC filter class with parameters
- Asp.net MVC4: Authorize on both controller and action
- Combine ASP.Net MVC with WebForms
- How do I find the absolute url of an action in ASP.NET MVC?
- How can I return camelCase JSON serialized by JSON.NET from ASP.NET MVC controller methods?
- Caching in asp.net-mvc
- Purpose of ActionName
- ASP.NET MVC 3 Razor – Adding class to EditorFor
- self hosting asp.net mvc
- MVC versus WebForms [closed]
- How to set ViewBag properties for all Views without using a base class for Controllers?
- ‘Microsoft.SqlServer.Types’ version 10 or higher could not be found on Azure
- ASP.NET MVC A potentially dangerous Request.Form value was detected from the client when using a custom modelbinder
- Force lowercase property names from Json() in ASP.NET MVC
- Deploy ASP.NET MVC on IIS 5.1 (Windows XP)
- How to make ASP.Net MVC model binder treat incoming date as UTC?
- asp.net mvc Html.ActionLink() keeping route value I don’t want
- Passing asp.net server parameters to Angular 2 app
- Having troubles calling a Controller Post Method
- An item with the same key has already been added
- ASP.NET MVC 4 Application Calling Remote WebAPI
- jQuery Ajax POSTing array to ASP.NET MVC Controller
- How do I route a URL with a querystring in ASP.NET MVC?
- Is using ViewBag in MVC bad? [closed]
- Does Razor syntax provide a compelling advantage in UI markup?
- How do I create a MVC Razor template for DisplayFor()
- Send asp.net mvc action result inside email
- Routing with and without controller name in ASP.NET MVC 4