User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager

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

  • System.Object
    • ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager

Members Summary

Public Constructors

MvcClientScriptManager(TextWriter)

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

Remarks

N/A

Parameters
  • textWriter
    • Type:TextWriter
    • Description:The textWriter of the viewContext in the page.

Protected Constructors

Public Methods

RegisterClientScriptBlock(String,String)

Registers a specified client JavaScript block to the page.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • key
    • Type:String
    • Description:A unique identifier for the script file.
  • script
    • Type:String
    • Description:The client JavaScript block.

RegisterClientScriptBlock(String,String,Boolean)

Registers a specified client JavaScript block to the page.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • key
    • Type:String
    • Description:A unique identifier for the script file.
  • script
    • Type:String
    • Description:The client JavaScript block.
  • addScriptTag
    • Type:Boolean
    • Description:ture to enclose the script block with and tags; otherwise false.

RegisterClientScriptInclude(String,String)

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

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • key
    • Type:String
    • Description:A unique identifier for the script file.
  • url
    • Type:String
    • Description:The URL of the script file.

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

TextWriter

Gets the textwriter of the ViewContext in the page.

Remarks

N/A

Return Value
  • Type:TextWriter

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager.1442806501.txt.gz · Last modified: 2015/09/21 03:35 by admin