Click or drag to resize

ClientModuleController Class

SOWI Management Client Module configuration
Inheritance Hierarchy
SystemObject
  ControllerBase
    Controller
      SOWIWeb.HelperControllerStandardClientModuleConfig
        SOWIWeb.Administrator.ControllersClientModuleController

Namespace:  SOWIWeb.Administrator.Controllers
Assembly:  SOWIWeb.Administrator (in SOWIWeb.Administrator.dll) Version: 19.1.21.1 (19.1.21.658)
Syntax
public class ClientModuleController : ControllerStandard<ClientModuleConfig>

The ClientModuleController type exposes the following members.

Constructors
  NameDescription
Public methodClientModuleController
Constructor without parameter. Puts can Details and Edit.
Top
Properties
  NameDescription
Public propertyActionInvoker
Gets the action invoker for the controller.
(Inherited from Controller.)
Public propertyActionName
Get and set Action name (controller context)
(Inherited from ControllerStandardDataItemClass.)
Private propertyAppClientModuleConfig
Give a App object with full function (SOWIApp.Administrator.ClientModuleConfig)
Protected propertyAppModule (Overrides ControllerStandardDataItemClassAppModule.)
Public propertyAsyncManager
Provides asynchronous operations.
(Inherited from Controller.)
Protected propertyBinders
Gets or sets the binder.
(Inherited from Controller.)
Protected propertyCanCreate
Requirement: View Create
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanDelete
Requirement: View Delete
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanDetails
Requirement: View Details
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanDownload
View Details: button Download (database field value save to file as content)
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanEdit
Requirement: View Edit
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanExport
View Index: button Export (data model save to file)
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanImport
View Index: button Import (data from file to database)
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanIndex
Requirement: View Index
(Inherited from ControllerStandardDataItemClass.)
Protected propertyCanUpload
View Create and Edit: button Upload (file content save to database field value)
(Inherited from ControllerStandardDataItemClass.)
Public propertyControllerContext
Gets or sets the controller context.
(Inherited from ControllerBase.)
Public propertyControllerName
From controller context
(Inherited from ControllerStandardDataItemClass.)
Public propertyDictionaryUI
Initialize with SOWIWeb.Helper.Session.DictionaryUI;
(Inherited from ControllerStandardDataItemClass.)
Protected propertyDisableAsyncSupport
Disable asynchronous support to provide backward compatibility.
(Inherited from Controller.)
Protected propertyGetFileName
Gives file name (full path) from object HTTPPostedFileBase
(Inherited from ControllerStandardDataItemClass.)
Protected propertyGetFileToByte
Gives a byte array from file (Request Files) from object HTTPPostedFileBase
(Inherited from ControllerStandardDataItemClass.)
Protected propertyGetFileType
Gives MIME content type from object HTTPPostedFileBase
(Inherited from ControllerStandardDataItemClass.)
Protected propertyGetNewDataItem
Not implemented
(Overrides ControllerStandardDataItemClassGetNewDataItem.)
Public propertyHttpContext
Gets HTTP-specific information about an individual HTTP request.
(Inherited from Controller.)
Public propertyID
Get route data parameter id. If object no exist then gives 0 return
(Inherited from ControllerStandardDataItemClass.)
Protected propertyIndexItemClickToDetails
Option: view Index Click event on data item then calls view Details. Requirement: View Index. Default value true.
(Inherited from ControllerStandardDataItemClass.)
Protected propertyIndexItemDeleteViaDialog
Option: view Index Click Delete event on data item is deleting via dialog. Requirement: View Index. Default value true.
(Inherited from ControllerStandardDataItemClass.)
Public propertyModelState
Gets the model state dictionary object that contains the state of the model and of model-binding validation.
(Inherited from Controller.)
Public propertyParameter
Get route data parameter from Controller Context object. If no value or object no exists then gives "" return.
(Inherited from ControllerStandardDataItemClass.)
Public propertyProfile
Gets the HTTP context profile.
(Inherited from Controller.)
Public propertyRequest
Gets the HttpRequestBase object for the current HTTP request.
(Inherited from Controller.)
Public propertyResponse
Gets the HttpResponseBase object for the current HTTP response.
(Inherited from Controller.)
Public propertyRouteData
Gets the route data for the current request.
(Inherited from Controller.)
Public propertyServer
Gets the HttpServerUtilityBase object that provides methods that are used during Web request processing.
(Inherited from Controller.)
Public propertySession
Gets the HttpSessionStateBase object for the current HTTP request.
(Inherited from Controller.)
Public propertyTempData
Gets or sets the dictionary for temporary data.
(Inherited from ControllerBase.)
Public propertyTempDataProvider
Gets the temporary-data provider object that is used to store data for the next request.
(Inherited from Controller.)
Public propertyUrl
Gets the URL helper object that is used to generate URLs by using routing.
(Inherited from Controller.)
Public propertyUser
Gets the user security information for the current HTTP request.
(Inherited from Controller.)
Public propertyValidateRequest
Gets or sets a value that indicates whether request validation is enabled for this request.
(Inherited from ControllerBase.)
Public propertyValueProvider
Gets or sets the value provider for the controller.
(Inherited from ControllerBase.)
Public propertyViewBag
Gets the dynamic view data dictionary.
(Inherited from ControllerBase.)
Public propertyViewData
Gets or sets the dictionary for view data.
(Inherited from ControllerBase.)
Public propertyViewEngineCollection
Gets the view engine collection.
(Inherited from Controller.)
Top
Methods
  NameDescription
Protected methodBeginExecute
Begins execution of the specified request context
(Inherited from Controller.)
Protected methodBeginExecuteCore
Begins to invoke the action in the current controller context.
(Inherited from Controller.)
Protected methodContent(String)
Creates a content result object by using a string.
(Inherited from Controller.)
Protected methodContent(String, String)
Creates a content result object by using a string and the content type.
(Inherited from Controller.)
Protected methodContent(String, String, Encoding)
Creates a content result object by using a string, the content type, and content encoding.
(Inherited from Controller.)
Public methodCreate
Standard Create (Get). Check CanCreate and Permission by Create. Called CreateOnActionResultGet when entitled
(Inherited from ControllerStandardDataItemClass.)
Public methodCreate(String, DataItemClass)
Standard Create (Post). Check CanCreate. Next step by push Button (switch submit): save and cancel. If no case is true (switch default) then called CreateOnActionResultPostCase with parameter submit.
(Inherited from ControllerStandardDataItemClass.)
Protected methodCreateActionInvoker
Creates an action invoker.
(Inherited from Controller.)
Protected methodCreateGetToolbar
Standard toolbar for Create with button: save (default), cancel
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleCreateOnActionResultGet
This called from method Create.

This method reset object UploadFile.

And set object ViewBag with method CreateSetViewBag.

and present view Create with a new data item of method GetNewDataItem.

(Inherited from ControllerStandardDataItemClass.)
Protected methodCreateOnActionResultPostCase
Not implemented is for spezification Post.
(Inherited from ControllerStandardDataItemClass.)
Protected methodCreateOnActionResultPostHome
Standard Create Post Home
(Inherited from ControllerStandardDataItemClass.)
Protected methodCreateOnActionResultPostSave
Standard save data item from Create. Check Permission by Create. Validating data if true then insert data item if false then set ModelState and give View back.

If uploaded file is valid then does call method Upload(DataItemClass, FileContent)

Supported event CreateAppActionAfterInsert

(Inherited from ControllerStandardDataItemClass.)
Protected methodCreateOnActionResultPostUpload
Read file upload parameters and save to SOWIWeb.Helper.Session.UploadFile
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleCreateSetViewBag
Puts ViewBag values. If value null then put following values:
NameDescription
ViewBag.DataGridViewReads from AppModule object
ViewBag.ToolbarReads from method CreateGetToolbar
ViewBag.HasListHeaderPuts default value off (false)
ViewBag.ContentNamePuts default value CreateContent
More values puts by method FormSetViewBag and method SetViewBagList
(Inherited from ControllerStandardDataItemClass.)
Protected methodCreateTempDataProvider
Creates a temporary data provider.
(Inherited from Controller.)
Public methodDelete(Int32)
Standard Delete (Get). Check CanDelete and Permission by Delete and DeleteOwner. Called DeleteOnActionResultGet when entitled
(Inherited from ControllerStandardDataItemClass.)
Public methodDelete(String, Int32)
Standard Delete (Post). Check CanDelete. Next step by push Button (switch submit): delete and cancel. If no case is true (switch default) then called DeleteOnActionResultPostCase with parameter submit.
(Inherited from ControllerStandardDataItemClass.)
Protected methodDeleteGetToolbar
Standard toolbar for Edit with button: delete (default), cancel
(Inherited from ControllerStandardDataItemClass.)
Protected methodDeleteOnActionResultGet
Called DeleteSetViewBag and gives a View object with data item by ID
(Inherited from ControllerStandardDataItemClass.)
Protected methodDeleteOnActionResultPostCase
Not implemented is for spezification Post.
(Inherited from ControllerStandardDataItemClass.)
Protected methodDeleteOnActionResultPostDelete
Standard delete data item. Check Permission by Delete and DeleteOwner. Validating data if true then delete data item if false then set ModelState and give View back.
(Inherited from ControllerStandardDataItemClass.)
Protected methodDeleteOnActionResultPostHome
Standard Delete Post Home
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleDeleteSetViewBag
Puts ViewBag values. If value null then put following values:
NameDescription
ViewBag.DataGridViewReads from AppModule object
ViewBag.ToolbarReads from method DeleteGetToolbar
ViewBag.HasListHeaderPuts default value off (false)
ViewBag.ContentNamePuts default value DeleteContent
More values puts by method FormSetViewBag
(Inherited from ControllerStandardDataItemClass.)
Public methodDetails(Int32)
Standard Details (Get). Check CanDetails and Permission by Read and ReadOwner. Called DetailsOnActionResultGet when entitled
(Inherited from ControllerStandardDataItemClass.)
Public methodDetails(String, Int32)
Standard Details (Post). Check CanDetails. Next step by push Button (switch submit): back, edit and delete. If no case is true (switch default) then called DetailsOnActionResultPostCase with parameter submit.
(Inherited from ControllerStandardDataItemClass.)
Protected methodDetailsGetToolbar
Standard toolbar for Details with button: back (default), edit (disabled at not CanEdit), delete (disabled at not CanDelete)
(Inherited from ControllerStandardDataItemClass.)
Protected methodDetailsOnActionResultGet
Details view about Apps activated
(Overrides ControllerStandardDataItemClassDetailsOnActionResultGet(Int32).)
Protected methodDetailsOnActionResultPostCase
Not implemented is for spezification Post.
(Inherited from ControllerStandardDataItemClass.)
Protected methodDetailsOnActionResultPostHome
Standard Details Post Home
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleDetailsSetViewBag
Puts ViewBag values. If value null then put following values:
NameDescription
ViewBag.DataGridViewReads from AppModule object
ViewBag.ToolbarReads from method DetailsGetToolbar
ViewBag.HasListHeaderPuts default value off (false)
ViewBag.ContentNamePuts default value DetailsContent
More values puts by method FormSetViewBag
(Inherited from ControllerStandardDataItemClass.)
Public methodDispose
Releases all resources that are used by the current instance of the Controller class.
(Inherited from Controller.)
Protected methodDispose(Boolean)
Releases unmanaged resources and optionally releases managed resources.
(Inherited from Controller.)
Public methodEdit(Int32)
Standard Edit (Get). Check CanEdit and Permission by Update and UpdateOwner. Called EditOnActionResultGet when entitled
(Inherited from ControllerStandardDataItemClass.)
Public methodEdit(String, DataItemClass)
Standard Edit (Post). Check CanEdit. Next step by push Button (switch submit): save and cancel. If no case is true (switch default) then called EditOnActionResultPostCase with parameter submit.
(Inherited from ControllerStandardDataItemClass.)
Protected methodEditGetToolbar
Standard toolbar for Edit with button: save (default), cancel
(Inherited from ControllerStandardDataItemClass.)
Protected methodEditOnActionResultGet
Edit views about Apps activated
(Overrides ControllerStandardDataItemClassEditOnActionResultGet(Int32).)
Protected methodEditOnActionResultPostCase
Not implemented is for spezification Post.
(Inherited from ControllerStandardDataItemClass.)
Protected methodEditOnActionResultPostHome
Standard Edit Post Home
(Inherited from ControllerStandardDataItemClass.)
Protected methodEditOnActionResultPostSave
Standard save data item from Edit. Check Permission by Update and UpdateOwner. Validating data if true then update data item if false then set ModelState and give View back.
(Inherited from ControllerStandardDataItemClass.)
Protected methodEditOnActionResultPostUpload
Read file upload parameters and save to SOWIWeb.Helper.Session.UploadFile
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleEditSetViewBag
Puts ViewBag values. If value null then put following values:
NameDescription
ViewBag.DataGridViewReads from AppModule object
ViewBag.ToolbarReads from method EditGetToolbar
ViewBag.HasListHeaderPuts default value off (false)
ViewBag.ContentNamePuts default value EditContent
More values puts by method FormSetViewBag and method SetViewBagList
(Inherited from ControllerStandardDataItemClass.)
Protected methodEndExecute
Ends the invocation of the action in the current controller context.
(Inherited from Controller.)
Protected methodEndExecuteCore
Ends the execute core.
(Inherited from Controller.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExecute
Executes the specified request context.
(Inherited from ControllerBase.)
Protected methodExecuteCore
Invokes the action in the current controller context.
(Inherited from Controller.)
Protected methodFile(Byte, String)
Creates a FileContentResult object by using the file contents and file type.
(Inherited from Controller.)
Protected methodFile(Stream, String)
Creates a FileStreamResult object by using the Stream object and content type.
(Inherited from Controller.)
Protected methodFile(String, String)
Creates a FilePathResult object by using the file name and the content type.
(Inherited from Controller.)
Protected methodFile(Byte, String, String)
Creates a FileContentResult object by using the file contents, content type, and the destination file name.
(Inherited from Controller.)
Protected methodFile(Stream, String, String)
Creates a FileStreamResult object using the Stream object, the content type, and the target file name.
(Inherited from Controller.)
Protected methodFile(String, String, String)
Creates a FilePathResult object by using the file name, the content type, and the file download name.
(Inherited from Controller.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFormSetViewBag
Set Form ViewBag values
NameDescription
ViewBag.DictionaryUIIf value null then puts UI dictionary from this web controller
ViewBag.ControllerNamePuts controller name
ViewBag.ActionNamePuts action name
ViewBag.TitleIf value null then puts title from UI dictionary controller name and action name
ViewBag.Message If value null then puts message value from Session object

Check upload file. If upload file valid then has additional message about this.

ViewBag.ReturnUrlIf value null then puts this URL
(Inherited from ControllerStandardDataItemClass.)
Protected methodGetFile
Gives the first file object (with exists a filename) of HTTP posted files back
(Inherited from ControllerStandardDataItemClass.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleUnknownAction
Called when a request matches this controller, but no method with the specified action name is found in the controller.
(Inherited from Controller.)
Protected methodHttpNotFound
Returns an instance of the HttpNotFoundResult class.
(Inherited from Controller.)
Protected methodHttpNotFound(String)
Returns an instance of the HttpNotFoundResult class.
(Inherited from Controller.)
Public methodIndex
Standard Index (Get). Check CanIndex and Permission by Read and ReadOwner. Called IndexOnActionResultGet when entitled
(Inherited from ControllerStandardDataItemClass.)
Public methodIndex(String, ListViewConfig)
Standard Index (Post). Check CanIndex. Next step by push Button (switch submit): create, refresh and EditDataGridView. If no case is true (switch default) then called IndexOnActionResultPostCase with parameter submit.
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleIndexGetToolbar
Standard toolbar for Index with button: create (default and disabled not CanCreate), refresh, ListHeader (toogle for LiestHeader) and EditDataGridView and Import
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleIndexGetToolbarItem
Standard toolbar for data item (Edit, Details, Delete). Button Delete controlled by option IndexItemDeleteViaDialog (view or dialog)
(Inherited from ControllerStandardDataItemClass.)
Public methodCode exampleIndexGetView(ListViewConfig, DictionaryString, String)
Gives a data list. Called method GetView from his App
(Inherited from ControllerStandardDataItemClass.)
Public methodCode exampleIndexGetView(ListViewConfig, String, DictionaryString, String)
Gives a data list. Called method GetView from his App
(Inherited from ControllerStandardDataItemClass.)
Protected methodIndexOnActionResultGet
Calls the method IndexSetViewBag. Fills data list by method IndexGetView.
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleIndexOnActionResultPostCase
Not implemented is for spezification Post.
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleIndexOnActionResultPostCreate
Standard Index Post Create
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleIndexOnActionResultPostDelete
Data item is deleting via option IndexItemDeleteViaDialog. Trigger event IndexAppActionDelete details see topic Remarks.
(Inherited from ControllerStandardDataItemClass.)
Protected methodIndexOnActionResultPostHome
Standard Index Post Home
(Inherited from ControllerStandardDataItemClass.)
Protected methodIndexOnActionResultPostImport
File import implement in method Import in App module. See Import(Stream, String, String)
(Inherited from ControllerStandardDataItemClass.)
Protected methodIndexOnActionResultPostRefresh
This method called from Standard Index (Post Refresh). Gives a View object with data list configuration by ListViewConfig. Check Permission by Read and ReadOwner. Called IndexSetViewBag.
(Inherited from ControllerStandardDataItemClass.)
Protected methodCode exampleIndexSetViewBag
Call method FormSetViewBag and puts Session and ViewBag values
NameDescription
Session.ReturnUrlPut value Session Return URL with request URL value (this controller URL, see PathAndQuery and )

This value put always. Want to overwrite then set the value after the method is called.

ViewBag.DataGridViewIf value null then put value from AppModule property DataGridView
ViewBag.ToolbarIf value null then put value from AppModule Index Get Toolbar (see IndexGetToolbar)
ViewBag.ToolbarItemIf value null then put value from AppModule Index Get Toolbar Item (see IndexGetToolbarItem)
ViewBag.HasListHeaderIf value null then put value true
ViewBag.ContentNameIf value null then put value IndexContentDataTablesPartial (with DataTables plug in)
ViewBag.IndexItemClickToDetailsDetails see option IndexItemClickToDetails
ViewBag.IndexItemDeleteViaDialogDetails see option IndexItemDeleteViaDialog
(Inherited from ControllerStandardDataItemClass.)
Private methodInitialize (Inherited from ControllerStandardDataItemClass.)
Protected methodInitialize(RequestContext)
Initializes data that might not be available when the constructor is called.
(Inherited from Controller.)
Protected methodJavaScript
Creates a JavaScriptResult object.
(Inherited from Controller.)
Protected methodJson(Object)
Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON).
(Inherited from Controller.)
Protected methodJson(Object, String)
Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format.
(Inherited from Controller.)
Protected methodJson(Object, JsonRequestBehavior)
Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the specified JSON request behavior.
(Inherited from Controller.)
Protected methodJson(Object, String, Encoding)
Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format.
(Inherited from Controller.)
Protected methodJson(Object, String, JsonRequestBehavior)
Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the specified content type and JSON request behavior.
(Inherited from Controller.)
Protected methodJson(Object, String, Encoding, JsonRequestBehavior)
Creates a JsonResult object that serializes the specified object to JavaScript Object Notation (JSON) format using the content type, content encoding, and the JSON request behavior.
(Inherited from Controller.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnActionExecuted
Called after the action method is invoked.
(Inherited from Controller.)
Protected methodOnActionExecuting
Called before the action method is invoked.
(Inherited from Controller.)
Protected methodOnAuthorization
Called when authorization occurs.
(Inherited from Controller.)
Protected methodOnException
Called when an unhandled exception occurs in the action.
(Inherited from Controller.)
Protected methodOnResultExecuted
Called after the action result that is returned by an action method is executed.
(Inherited from Controller.)
Protected methodOnResultExecuting
Called before the action result that is returned by an action method is executed.
(Inherited from Controller.)
Protected methodPartialView
Creates a PartialViewResult object that renders a partial view.
(Inherited from Controller.)
Protected methodPartialView(Object)
Creates a PartialViewResult object that renders a partial view, by using the specified model.
(Inherited from Controller.)
Protected methodPartialView(String)
Creates a PartialViewResult object that renders a partial view, by using the specified view name.
(Inherited from Controller.)
Protected methodPartialView(String, Object)
Creates a PartialViewResult object that renders a partial view, by using the specified view name and model.
(Inherited from Controller.)
Protected methodCode examplePermissionCheck
Check Permission with array of CRUD (enumeration)
(Inherited from ControllerStandardDataItemClass.)
Protected methodPermissionDenied
Go to LogIn with Message (No authorization or not logged in.) and set Session ReturnUrl
(Inherited from ControllerStandardDataItemClass.)
Protected methodRedirect
Creates a RedirectResult object that redirects to the specified URL.
(Inherited from Controller.)
Protected methodRedirectPermanent (Inherited from Controller.)
Protected methodRedirectToAction(String)
Redirects to the specified action using the action name.
(Inherited from Controller.)
Protected methodRedirectToAction(String, Object)
Redirects to the specified action using the action name and route values.
(Inherited from Controller.)
Protected methodRedirectToAction(String, RouteValueDictionary)
Redirects to the specified action using the action name and route dictionary.
(Inherited from Controller.)
Protected methodRedirectToAction(String, String)
Redirects to the specified action using the action name and controller name.
(Inherited from Controller.)
Protected methodRedirectToAction(String, String, Object)
Redirects to the specified action using the action name, controller name, and route values.
(Inherited from Controller.)
Protected methodRedirectToAction(String, String, RouteValueDictionary)
Redirects to the specified action using the action name, controller name, and route dictionary.
(Inherited from Controller.)
Protected methodRedirectToActionPermanent(String)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name.
(Inherited from Controller.)
Protected methodRedirectToActionPermanent(String, Object)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.
(Inherited from Controller.)
Protected methodRedirectToActionPermanent(String, RouteValueDictionary)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.
(Inherited from Controller.)
Protected methodRedirectToActionPermanent(String, String)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and controller name.
(Inherited from Controller.)
Protected methodRedirectToActionPermanent(String, String, Object)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
(Inherited from Controller.)
Protected methodRedirectToActionPermanent(String, String, RouteValueDictionary)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
(Inherited from Controller.)
Protected methodRedirectToLocal
Redirection to local url
(Inherited from ControllerStandardDataItemClass.)
Protected methodRedirectToRoute(Object)
Redirects to the specified route using the specified route values.
(Inherited from Controller.)
Protected methodRedirectToRoute(RouteValueDictionary)
Redirects to the specified route using the route dictionary.
(Inherited from Controller.)
Protected methodRedirectToRoute(String)
Redirects to the specified route using the route name.
(Inherited from Controller.)
Protected methodRedirectToRoute(String, Object)
Redirects to the specified route using the route name and route values.
(Inherited from Controller.)
Protected methodRedirectToRoute(String, RouteValueDictionary)
Redirects to the specified route using the route name and route dictionary.
(Inherited from Controller.)
Protected methodRedirectToRoutePermanent(Object)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.
(Inherited from Controller.)
Protected methodRedirectToRoutePermanent(RouteValueDictionary)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.
(Inherited from Controller.)
Protected methodRedirectToRoutePermanent(String)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name.
(Inherited from Controller.)
Protected methodRedirectToRoutePermanent(String, Object)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.
(Inherited from Controller.)
Protected methodRedirectToRoutePermanent(String, RouteValueDictionary)
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.
(Inherited from Controller.)
Protected methodCode exampleSetViewBagList
Set view bag list is empty
(Inherited from ControllerStandardDataItemClass.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryUpdateModel``1(UMP)
Updates the specified model instance using values from the controller's current value provider.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String)
Updates the specified model instance using values from the controller's current value provider and a prefix.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String)
Updates the specified model instance using values from the controller's current value provider and included properties.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, IValueProvider)
Updates the specified model instance using values from the value provider.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String, String)
Updates the specified model instance using values from the controller's current value provider, a prefix, and included properties.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String, IValueProvider)
Updates the specified model instance using values from the value provider and a prefix.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String, IValueProvider)
Updates the specified model instance using values from the value provider and a list of properties to include.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String, String, String)
Updates the specified model instance using values from the controller's current value provider, a prefix, a list of properties to exclude, and a list of properties to include.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String, String, IValueProvider)
Updates the specified model instance using values from the value provider, a prefix, and included properties.
(Inherited from Controller.)
Protected methodTryUpdateModel``1(UMP, String, String, String, IValueProvider)
Updates the specified model instance using values from the value provider, a prefix, a list of properties to exclude , and a list of properties to include.
(Inherited from Controller.)
Protected methodTryValidateModel(Object)
Validates the specified model instance.
(Inherited from Controller.)
Protected methodTryValidateModel(Object, String)
Validates the specified model instance using an HTML prefix.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP)
Updates the specified model instance using values from the controller's current value provider.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String)
Updates the specified model instance using values from the controller's current value provider and a prefix.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String)
Updates the specified model instance using values from the controller object's current value provider.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, IValueProvider)
Updates the specified model instance using values from the value provider.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String, String)
Updates the specified model instance using values from the controller's current value provider, a prefix, and included properties.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String, IValueProvider)
Updates the specified model instance using values from the value provider and a prefix.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String, IValueProvider)
Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String, String, String)
Updates the specified model instance using values from the controller's current value provider, a prefix, a list of properties to exclude, and a list of properties to include.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String, String, IValueProvider)
Updates the specified model instance using values from the value provider, a prefix, and a list of properties to include.
(Inherited from Controller.)
Protected methodUpdateModel``1(UMP, String, String, String, IValueProvider)
Updates the specified model instance using values from the value provider, a prefix, a list of properties to exclude, and a list of properties to include.
(Inherited from Controller.)
Protected methodValidateModel(Object)
Validates the specified model instance.
(Inherited from Controller.)
Protected methodValidateModel(Object, String)
Validates the specified model instance using an HTML prefix.
(Inherited from Controller.)
Protected methodView
Creates a ViewResult object that renders a view to the response.
(Inherited from Controller.)
Protected methodView(Object)
Creates a ViewResult object by using the model that renders a view to the response.
(Inherited from Controller.)
Protected methodView(String)
Creates a ViewResult object by using the view name that renders a view.
(Inherited from Controller.)
Protected methodView(IView)
Creates a ViewResult object that renders the specified IView object.
(Inherited from Controller.)
Protected methodView(String, String)
Creates a ViewResult object using the view name and master-page name that renders a view to the response.
(Inherited from Controller.)
Protected methodView(String, Object)
Creates a ViewResult object by using the view name and model that renders a view to the response.
(Inherited from Controller.)
Protected methodView(IView, Object)
Creates a ViewResult object that renders the specified IView object.
(Inherited from Controller.)
Protected methodView(String, String, Object)
Creates a ViewResult object using the view name, master-page name, and model that renders a view.
(Inherited from Controller.)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodSystem#Web#Mvc#Async#IAsyncController#BeginExecute (Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#Async#IAsyncController#EndExecute
Ends the execute task.
(Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IController#Execute
Executes the specified request context.
(Inherited from ControllerBase.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IActionFilter#OnActionExecuted
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnActionExecuted(ActionExecutedContext) method.
(Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IActionFilter#OnActionExecuting
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnActionExecuting(ActionExecutingContext) method.
(Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IAuthorizationFilter#OnAuthorization
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnAuthorization(AuthorizationContext) method.
(Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IExceptionFilter#OnException
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnException(ExceptionContext) method.
(Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IResultFilter#OnResultExecuted
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnResultExecuted(ResultExecutedContext) method.
(Inherited from Controller.)
Explicit interface implementationPrivate methodSystem#Web#Mvc#IResultFilter#OnResultExecuting
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the OnResultExecuting(ResultExecutingContext) method.
(Inherited from Controller.)
Top
See Also