Top "Asp.net-mvc" questions

The ASP.

Html attributes for EditorFor() in ASP.NET MVC

Why can't I pass in html attributes to EditorFor()? eg; <%= Html.EditorFor(model => model.Control.PeriodType, new { disabled = "…

html asp.net-mvc editorfor
How to handle checkboxes in ASP.NET MVC forms?

Caution: This question is over nine years old! Your best option is to search for newer questions, or to search …

asp.net-mvc forms checkbox
Error message: (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

I am trying to deploy my website on windows server 2003. Am i missing something or what is wrong from the …

sql asp.net-mvc windows-server-2003 sql-server-2005-express
Int or Number DataType for DataAnnotation validation attribute

On my MVC3 project, I store score prediction for football/soccer/hockey/... sport game. So one of properties of my …

asp.net-mvc asp.net-mvc-3 data-annotations
Difference between ApiController and Controller in ASP.NET MVC

I've been playing around with ASP.NET MVC 4 beta and I see two types of controllers now: ApiController and Controller. …

asp.net-mvc asp.net-web-api
ASP.NET MVC Html.ValidationSummary(true) does not display model errors

I have some problem with Html.ValidationSummary. I don't want to display property errors in ValidationSummary. And when I set …

asp.net-mvc asp.net-mvc-2-validation
How can i load Partial view inside the view

I am very confuse with this partial view... I want to load a partial view inside my main view ... here …

asp.net-mvc asp.net-mvc-3 razor asp.net-mvc-partialview
ASP MVC href to a controller/view

I have this: <li><a href="/Users/Index)" class="elements"><span>Clients</span&…

asp.net asp.net-mvc asp.net-mvc-4 razor href
Add CSS or JavaScript files to layout head from views or partial views

Layout pages head: <head> <link href="@Url.Content("~/Content/themes/base/Site.css")" rel="stylesheet" type="text/…

asp.net-mvc asp.net-mvc-3 razor
Using partial views in ASP.net MVC 4

I have recently started playing around with ASP.net MVC (4), but I can't wrap my head around this one issue …

c# asp.net-mvc razor asp.net-mvc-4 partial-views