User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager

<!– Class –> This Class defines the utility for managing, registering or adding the client script libraries and script files of Mvc application to the page.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMvcClientScriptManager TextWriter Initalizes a new instance of the MvcClientScriptManager with the specified TextWriter.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodRegisterClientScriptBlock String, String Registers a specified client JavaScript block to the page.
Public MethodRegisterClientScriptBlock String, String, Boolean Registers a specified client JavaScript block to the page.
Public MethodRegisterClientScriptInclude String, String Registers a client JavaScript file to the page which contains the control.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyTextWriter TextWriter Gets the textwriter of the ViewContext in the page.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MvcClientScriptManager(TextWriter)

Initalizes a new instance of the MvcClientScriptManager with the specified TextWriter.

Parameters

Name Type Description
textWriter TextWriter<!– System.IO.TextWriter –> The textWriter of the viewContext in the page.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

RegisterClientScriptBlock(String, String)

Registers a specified client JavaScript block to the page.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –> A unique identifier for the script file.
script String<!– System.String –> The client JavaScript block.

<!– ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager –> Go Back

RegisterClientScriptBlock(String, String, Boolean)

Registers a specified client JavaScript block to the page.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –> A unique identifier for the script file.
script String<!– System.String –> The client JavaScript block.
addScriptTag Boolean<!– System.Boolean –> ture to enclose the script block with and tags; otherwise false.

<!– ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager –> Go Back

RegisterClientScriptInclude(String, String)

Registers a client JavaScript file to the page which contains the control.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –> A unique identifier for the script file.
url String<!– System.String –> The URL of the script file.

<!– ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

TextWriter

Gets the textwriter of the ViewContext in the page.

Return Value

Return Type
TextWriter<!– System.IO.TextWriter –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager.1440040131.txt.gz · Last modified: 2015/09/21 03:35 (external edit)