Class BaseController

Base Controller implementation that holds UserState, ErrorDisplay objects that are preinitialized.

System.Object
  System.Web.Mvc.ControllerBase
    System.Web.Mvc.Controller
      Westwind.Web.Mvc.BaseController
public class BaseController : Controller

Class Members

MemberDescription

Constructor

ErrorDisplay

ErrorDisplay control that holds page level error information

UserState

Contains User state information retrieved from the authentication system

InitializeExplicit

Allow external initialization of this controller by explicitly passing in a request context

public void InitializeExplicit(RequestContext requestContext)

ReturnAjaxError

Returns a Json error response to the client

public JsonResult ReturnAjaxError(string errorMessage,     int statusCode)

public JsonResult ReturnAjaxError(Exception ex,     int statusCode)

Requirements

Namespace: Westwind.Web.Mvc
Assembly: westwind.web.mvc.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic