C# Class SharpMap.Web.UI.Ajax.AjaxMapControl

Inheritance: System.Web.UI.WebControls.WebControl, INamingContainer, ICallbackEventHandler
Exibir arquivo Open project: jumpinjackie/fdotoolbox Class Usage Examples

Private Properties

Property Type Description
GenerateClientScripts void
GenerateMap string
GenerateMapBox void

Public Methods

Method Description
AjaxMapControl ( ) : System

Initializes a new instance of the AjaxMapControl

GetCallbackResult ( ) : string

Returns the result of the callback event that targets SharpMap.Web.UI.Ajax.AjaxMapControl

RaiseCallbackEvent ( string eventArgument ) : void

Creates the arguments for the callback handler in the System.Web.UI.ClientScriptManager.GetCallbackEventReference(System.Web.UI.Control,string,string,string) method.

Protected Methods

Method Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering

Render ( System.Web.UI.HtmlTextWriter writer ) : void

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

Private Methods

Method Description
GenerateClientScripts ( ) : void

Registers the client-side scripts and creates an initialize script for the current map

GenerateMap ( ) : string

Returns a Url to the map

GenerateMapBox ( ) : void

Method Details

AjaxMapControl() public method

Initializes a new instance of the AjaxMapControl
public AjaxMapControl ( ) : System
return System

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering
protected CreateChildControls ( ) : void
return void

GetCallbackResult() public method

Returns the result of the callback event that targets SharpMap.Web.UI.Ajax.AjaxMapControl
public GetCallbackResult ( ) : string
return string

RaiseCallbackEvent() public method

Creates the arguments for the callback handler in the System.Web.UI.ClientScriptManager.GetCallbackEventReference(System.Web.UI.Control,string,string,string) method.
public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string
return void

Render() protected method

Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The HtmlTextWriter object that receives the server control content.
return void