User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.mvccontrolbase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
thinkgeo.mapsuite.mvcedition.mvccontrolbase [2015/09/21 03:35]
admin
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.MvcEdition.MvcControlBase ====== 
-This class defines the base abstract class for creating MVC control. 
-===== Inheritance Hierarchy ===== 
-  *System.Object 
-    ***ThinkGeo.MapSuite.MvcEdition.MvcControlBase** 
-      *[[ThinkGeo.MapSuite.MvcEdition.Map]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-==== Protected Constructors ==== 
-** {{wiki:​ProtectedMethod.gif|}} MvcControlBase() ** 
- 
-Initializes a new instance of the MvcControlBase class. 
-== Remarks == 
-N/A 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} MvcControlBase(String) ** 
- 
-Initializes a new instance of the MvcControlBase class. 
-== Remarks == 
-N/A 
-== Parameters == 
-  * //name// 
-    * Type:String 
-    * Description:​The unique identifier name of the control. 
- 
-<div newline></​div>​ 
-==== Public Methods ==== 
-** {{wiki:​PublicMethod.gif|}} Fill(String) ** 
- 
-Fill an instance according to the input entity string 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​entityString//​ 
-    * Type:String 
-    * Description:​the inpu entity string. 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} Fill(String,​String) ** 
- 
-Fill an instance based on the input model name according to the input entity string 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​modelName//​ 
-    * Type:String 
-    * Description:​the input model name 
- 
-  * //​entityString//​ 
-    * Type:String 
-    * Description:​the input entity string 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ToString(String) ** 
- 
-Convert current object based on mode name to an entity string. 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:String 
-  * Description:​an entity string 
- 
-== Parameters == 
-  * //​modelName//​ 
-    * Type:String 
-    * Description:​model name 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ToString() ** 
- 
-N/A 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:String 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} Equals(Object) ** 
- 
-N/A 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:​Boolean 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //obj// 
-    * Type:Object 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetHashCode() ** 
- 
-N/A 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Int32 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetType() ** 
- 
-N/A 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Type 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-==== Protected Methods ==== 
-** {{wiki:​ProtectedMethod.gif|}} LoadState() ** 
- 
-Restores the control information from a persistent object the was saved by the SaveState method. 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} 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 == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} 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 == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​htmlTextWriter//​ 
-    * Type:​HtmlTextWriter 
-    * Description:​The HtmlTextWriter object that receives the Mvc control content. 
- 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} SaveState() ** 
- 
-Saves any necessary information of the Mvc control, which will be used in some other places. 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
- 
-N/A 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
- 
-N/A 
-== Remarks == 
-N/A 
- 
-== Return Value == 
-  * Type:Object 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-==== Public Properties ==== 
-** {{wiki:​PublicProperty.gif|}} Id ** 
- 
-Gets the client id of the control, it will be calculated from Name property. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:String 
- 
-** {{wiki:​PublicProperty.gif|}} Name ** 
- 
-Gets the unique identifier name of the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:String 
- 
-** {{wiki:​PublicProperty.gif|}} Width ** 
- 
-Gets or sets the width of the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:Unit 
- 
-** {{wiki:​PublicProperty.gif|}} Height ** 
- 
-Gets or sets the height of the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:Unit 
- 
-** {{wiki:​PublicProperty.gif|}} Visible ** 
- 
-Gets or sets the visibility of the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Boolean 
- 
-** {{wiki:​PublicProperty.gif|}} HtmlAttributes ** 
- 
-Gets the customized html attributes of the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Dictionary<​String,​String>​ 
- 
-** {{wiki:​PublicProperty.gif|}} ClientScriptFileNames ** 
- 
-Gets the client script files which will be registered to the page. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Dictionary<​String,​String>​ 
- 
-** {{wiki:​PublicProperty.gif|}} ClientScriptBlocks ** 
- 
-Gets the client script blocks which will be registered to the page. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Dictionary<​String,​String>​ 
- 
-** {{wiki:​PublicProperty.gif|}} StyleSheetFileNames ** 
- 
-Gets the css files which will be wrote to the client html. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​Collection<​String>​ 
- 
-** {{wiki:​PublicProperty.gif|}} ViewContext ** 
- 
-Gets the ViewContext of the page which includes the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​ViewContext 
- 
-==== Protected Properties ==== 
-** {{wiki:​ProtectedProperty.gif|}} ClientScriptManager ** 
- 
-Gets the object which is used for managing, registering the client scripts. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager|MvcClientScriptManager]] 
- 
-** {{wiki:​ProtectedProperty.gif|}} ClientStyleSheetManager ** 
- 
-Gets the object which is used for managing, registering the css files used by the control. 
-== Remarks == 
-N/A 
-== Return Value == 
-  * Type:​[[ThinkGeo.MapSuite.MvcEdition.MvcClientStyleSheetManager|MvcClientStyleSheetManager]] 
- 
-==== Public Events ==== 
  
thinkgeo.mapsuite.mvcedition.mvccontrolbase.1442806504.txt.gz ยท Last modified: 2015/09/21 03:35 by admin