User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager

ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager

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 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.txt · Last modified: 2017/03/16 21:59 (external edit)