Table of Contents

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.

Remarks

N/A

Parameters

MvcControlBase(String)

Initializes a new instance of the MvcControlBase class.

Remarks

N/A

Parameters

Public Methods

Fill(String)

Fill an instance according to the input entity string

Remarks

N/A

Return Value
Parameters

Fill(String,String)

Fill an instance based on the input model name according to the input entity string

Remarks

N/A

Return Value
Parameters

ToString(String)

Convert current object based on mode name to an entity string.

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

Return Value
Parameters

Protected Methods

LoadState()

Restores the control information from a persistent object the was saved by the SaveState method.

Remarks

N/A

Return Value
Parameters

PreRender()

Does the preparation before sending the Mvc control to the provided HtmlWriter of the ViewContext.

Remarks

This method notifies the Mvc control to perform any necessary prerendering steps prior to rendering content and save state.

Return Value
Parameters

Render(HtmlTextWriter)

Sends the Mvc control content to a provided HtmlTextWriter object, which wirtes the content to be rendered on the client.

Remarks

When developing a custom server control, you can override this method to generate conteol for a page.

Return Value
Parameters

SaveState()

Saves any necessary information of the Mvc control, which will be used in some other places.

Remarks

N/A

Return Value
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

Id

Gets the client id of the control, it will be calculated from Name property.

Remarks

N/A

Return Value

Name

Gets the unique identifier name of the control.

Remarks

N/A

Return Value

Width

Gets or sets the width of the control.

Remarks

N/A

Return Value

Height

Gets or sets the height of the control.

Remarks

N/A

Return Value

Visible

Gets or sets the visibility of the control.

Remarks

N/A

Return Value

HtmlAttributes

Gets the customized html attributes of the control.

Remarks

N/A

Return Value

ClientScriptFileNames

Gets the client script files which will be registered to the page.

Remarks

N/A

Return Value

ClientScriptBlocks

Gets the client script blocks which will be registered to the page.

Remarks

N/A

Return Value

StyleSheetFileNames

Gets the css files which will be wrote to the client html.

Remarks

N/A

Return Value

ViewContext

Gets the ViewContext of the page which includes the control.

Remarks

N/A

Return Value

Protected Properties

ClientScriptManager

Gets the object which is used for managing, registering the client scripts.

Remarks

N/A

Return Value

ClientStyleSheetManager

Gets the object which is used for managing, registering the css files used by the control.

Remarks

N/A

Return Value

Public Events