The following table shows the built-in action result types and the action helper methods that return them.
Action Result |
Helper Method |
Description |
---|---|---|
Renders a view as a Web page. |
||
Renders a partial view, which defines a section of a view that can be rendered inside another view. |
||
Redirects to another action method by using its URL. |
||
Redirects to another action method. |
||
Returns a user-defined content type. |
||
Returns a serialized JSON object. |
||
Returns a script that can be executed on the client. |
||
Returns binary output to write to the response. |
||
(None) |
Represents a return value that is used if the action method must return a null result (void). |
from
http://weblogs.asp.net/rajbk/archive/2010/05/03/actionresult-types-in-mv...
http://msdn.microsoft.com/en-us/library/dd410269.aspx