ThinkGeo.MapSuite.MvcEdition.MvcControlBase
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class defines the base abstract class for creating MVC control.
Inheritance Hierarchy
Members Summary
Public Constructors
Protected Constructors
MvcControlBase()
Initializes a new instance of the MvcControlBase class.
Parameters
MvcControlBase(String)
Initializes a new instance of the MvcControlBase class.
Parameters
Public Methods
Fill(String)
Fill an instance according to the input entity string
Return Value
Type:Void
Description:N/A
Parameters
Fill(String,String)
Fill an instance based on the input model name according to the input entity string
Return Value
Type:Void
Description:N/A
Parameters
ToString(String)
Convert current object based on mode name to an entity string.
Return Value
Parameters
modelName
Type:String
Description:model name
ToString()
N/A
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
N/A
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
N/A
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
N/A
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
LoadState()
Restores the control information from a persistent object the was saved by the SaveState method.
Return Value
Type:Void
Description:N/A
Parameters
PreRender()
Does the preparation before sending the Mvc control to the provided HtmlWriter of the ViewContext.
This method notifies the Mvc control to perform any necessary prerendering steps prior to rendering content and save state.
Return Value
Type:Void
Description:N/A
Parameters
Render(HtmlTextWriter)
Sends the Mvc control content to a provided HtmlTextWriter object, which wirtes the content to be rendered on the client.
When developing a custom server control, you can override this method to generate conteol for a page.
Return Value
Type:Void
Description:N/A
Parameters
SaveState()
Saves any necessary information of the Mvc control, which will be used in some other places.
Return Value
Type:Void
Description:N/A
Parameters
Finalize()
N/A
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
N/A
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
Id
Gets the client id of the control, it will be calculated from Name property.
Return Value
Name
Gets the unique identifier name of the control.
Return Value
Width
Gets or sets the width of the control.
Return Value
Height
Gets or sets the height of the control.
Return Value
Visible
Gets or sets the visibility of the control.
Return Value
HtmlAttributes
Gets the customized html attributes of the control.
Return Value
ClientScriptFileNames
Gets the client script files which will be registered to the page.
Return Value
ClientScriptBlocks
Gets the client script blocks which will be registered to the page.
Return Value
StyleSheetFileNames
Gets the css files which will be wrote to the client html.
Return Value
ViewContext
Gets the ViewContext of the page which includes the control.
Return Value
Protected Properties
ClientScriptManager
Gets the object which is used for managing, registering the client scripts.
Return Value
ClientStyleSheetManager
Gets the object which is used for managing, registering the css files used by the control.
Return Value
Public Events