• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnController

Inheritance
System.Object
DnnController
Implements
IDnnController
IController
Namespace: DotNetNuke.Web.Mvc.Framework.Controllers
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public abstract class DnnController : Controller, IDnnController

Constructors

| Improve this Doc View Source

DnnController()

Initializes a new instance of the DnnController class.

Declaration
protected DnnController()

Properties

| Improve this Doc View Source

ActiveModule

Declaration
public ModuleInfo ActiveModule { get; }
Property Value
Type Description
ModuleInfo
| Improve this Doc View Source

ActivePage

Declaration
public TabInfo ActivePage { get; }
Property Value
Type Description
TabInfo
| Improve this Doc View Source

DnnPage

Declaration
public Page DnnPage { get; set; }
Property Value
Type Description
Page
| Improve this Doc View Source

LocalResourceFile

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ModuleActions

Declaration
public ModuleActionCollection ModuleActions { get; set; }
Property Value
Type Description
ModuleActionCollection
| Improve this Doc View Source

ModuleContext

Declaration
public ModuleInstanceContext ModuleContext { get; set; }
Property Value
Type Description
ModuleInstanceContext
| Improve this Doc View Source

PortalSettings

Declaration
public PortalSettings PortalSettings { get; }
Property Value
Type Description
PortalSettings
| Improve this Doc View Source

ResultOfLastExecute

Declaration
public ActionResult ResultOfLastExecute { get; }
Property Value
Type Description
ActionResult
| Improve this Doc View Source

Url

Declaration
public DnnUrlHelper Url { get; set; }
Property Value
Type Description
DnnUrlHelper
| Improve this Doc View Source

User

Declaration
public UserInfo User { get; }
Property Value
Type Description
UserInfo
| Improve this Doc View Source

ViewEngineCollectionEx

Declaration
public ViewEngineCollection ViewEngineCollectionEx { get; set; }
Property Value
Type Description
ViewEngineCollection

Methods

| Improve this Doc View Source

Initialize(RequestContext)

Declaration
protected override void Initialize(RequestContext requestContext)
Parameters
Type Name Description
RequestContext requestContext
| Improve this Doc View Source

LocalizeString(String)

Declaration
public string LocalizeString(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String
| Improve this Doc View Source

PartialView(String, Object)

Declaration
protected override PartialViewResult PartialView(string viewName, object model)
Parameters
Type Name Description
System.String viewName
System.Object model
Returns
Type Description
PartialViewResult
| Improve this Doc View Source

RedirectToAction(String, String, RouteValueDictionary)

Declaration
protected override RedirectToRouteResult RedirectToAction(string actionName, string controllerName, RouteValueDictionary routeValues)
Parameters
Type Name Description
System.String actionName
System.String controllerName
RouteValueDictionary routeValues
Returns
Type Description
RedirectToRouteResult
| Improve this Doc View Source

RedirectToDefaultRoute()

Declaration
protected RedirectToRouteResult RedirectToDefaultRoute()
Returns
Type Description
RedirectToRouteResult
| Improve this Doc View Source

View(IView, Object)

Declaration
protected override ViewResult View(IView view, object model)
Parameters
Type Name Description
IView view
System.Object model
Returns
Type Description
ViewResult
| Improve this Doc View Source

View(String, String, Object)

Declaration
protected override ViewResult View(string viewName, string masterName, object model)
Parameters
Type Name Description
System.String viewName
System.String masterName
System.Object model
Returns
Type Description
ViewResult

Implements

IDnnController
IController

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS