Top "Asp.net-mvc" questions

The ASP.

ASP.NET MVC controller actions that return JSON or partial html

I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What …

ajax asp.net-mvc json asp.net-ajax
Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction

In ASP.NET MVC, what is the difference between: Html.Partial and Html.RenderPartial Html.Action and Html.RenderAction

.net asp.net-mvc partial-views renderpartial renderaction
Html.ActionLink as a button or an image, not a link

In the latest (RC1) release of ASP.NET MVC, how do I get Html.ActionLink to render as a button …

asp.net-mvc actionlink
DropDownList in MVC 4 with Razor

I'm trying to create a DropDownList on a razor view. Would someone help me with this? Normal HTML5 code: <…

c# asp.net-mvc razor
Could not find a part of the path ... bin\roslyn\csc.exe

I am trying to run Asp.net MVC project retrieved from TFS source control. I have added all assembly references …

c# asp.net .net asp.net-mvc roslyn
ASP.NET MVC get textbox input value

I have a textbox input and some radio buttons. For example my textbox input HTML looks like that: <input …

c# html asp.net-mvc asp.net-mvc-4 razor
Reading a key from the Web.Config using ConfigurationManager

I am trying to read the keys from the Web.config file in a different layer than the web layer (…

c# asp.net-mvc
HTML.ActionLink vs Url.Action in ASP.NET Razor

Is there any difference between HTML.ActionLink vs Url.Action or they are just two ways of doing the same …

asp.net-mvc asp.net-mvc-3 razor
Making a Simple Ajax call to controller in asp.net mvc

I'm trying to get started with ASP.NET MVC Ajax calls. Controller: public class AjaxTestController : Controller { // // GET: /AjaxTest/ public ActionResult …

c# jquery asp.net asp.net-mvc asp.net-mvc-2
MVC 4 Razor File Upload

I am new to MVC 4 and I am trying to implement File Upload Control in my website. I am not …

asp.net-mvc file-upload