Top "Asp.net-mvc-3" questions

ASP.

Unable to find the requested .Net Framework Data Provider. It may not be installed. - when following mvc3 asp.net tutorial

I am following the ASP.NET MVC 3 Music store application tutorial but I keep getting stuck in part 4: http://www.…

sql-server asp.net-mvc asp.net-mvc-3 dataprovider
Html.RenderPartial() syntax with Razor

This works, because it returns the result of partial view rendering in a string: @Html.Partial("Path/to/my/partial/…

asp.net-mvc asp.net-mvc-3 razor
Set disable attribute based on a condition for Html.TextBoxFor

I want to set disable attribute based on a condition for Html.TextBoxFor in asp.net MVC like below @Html.…

asp.net-mvc asp.net-mvc-3 razor html-helper
How to create a function in a cshtml template?

I need to create a function that is only necessary inside one cshtml file. You can think of my situation …

asp.net-mvc asp.net-mvc-3 razor
Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor

Why by default were these changed when adding a new "edit" view? What are advantages when using EditorFor() vs. TextboxFor()? …

asp.net-mvc asp.net-mvc-3 razor
Action Image MVC3 Razor

What is the best way to replace links with images using Razor in MVC3. I simply doing this at the …

image asp.net-mvc-3 action razor
How to write a comment in a Razor view?

How to write a comment in a MVC view, that won't be transmitted to the final HTML (i.e.,to …

c# asp.net-mvc-3 razor comments
Razor If/Else conditional operator syntax

Not having much luck, I have the following if/else statement in Razor which works perfectly <small> @if(…

asp.net-mvc-3 razor
request exceeds the configured maxQueryStringLength when using [Authorize]

I have a MVC3 site in C#, I have a particular view being fed query parameters from a JavaScript function, …

c# javascript asp.net-mvc-3