Top "Actionresult" questions

The value returned by the Struts 2 Action class method when it completes.

How can I create a search functionality with partial view in asp.net mvc 4

I am using ASP.NET MVC 4 with entity framework model first. In my "Masterpage.cshtml" I want to have a …

c# asp.net asp.net-mvc search actionresult
How do I pass a Dictionary as a parameter to an ActionResult method from jQuery/Ajax?

I'm using jQuery to make an Ajax call using an Http Post in ASP.NET MVC. I would like to …

jquery asp.net-mvc ajax actionresult
The parameters dictionary contains a null entry for parameter 'id' of non-nullable type

I'm trying to retrieve data from my db via the id parameter in my default route: routes.MapRoute( "Default", // Route …

c# asp.net-mvc routes actionresult
How to pass multiple parameters in Url.Action()

I want to pass multiple parameters from Url.Action, Here is code in view window.location.href = "@Url.Action("ABC", "…

javascript asp.net-mvc parameters actionresult
Returning Empty ActionResult

I may encounter situations, when I need to just return bad request result. For example, there is a call to …

asp.net-mvc actionresult bad-request
How to pass List in Redirecttoaction

I want to pass more then one parameter from RedirectToAction method how can I pass? My One Action Method [HttpPost, …

c# asp.net-mvc-3 controller actionresult
Insufficient stack to continue executing the program safely. ASP.NET MVC 4

My search functionality seems to continue in a infinite loop, everytime my debug hits the action below the POST actionresult …

c# asp.net asp.net-mvc asp.net-mvc-4 actionresult
MVC3 - Ajax loading icon

I would like to show an AJAX loading icon during an ActionResult request that can take a few seconds to …

ajax asp.net-mvc asp.net-mvc-3 actionresult
How to pass XML as POST to an ActionResult in ASP MVC .NET

I am trying to provide a simple RESTful API to my ASP MVC project. I will not have control of …

asp.net-mvc xml json json.net actionresult
How to unit test an ActionResult that returns a ContentResult?

I want to unit test the following ASP.NET MVC controller Index action. What do I replace the actual parameter …

asp.net-mvc unit-testing actionresult