Click or drag to resize

AjaxControl Class

Represents a control that can be loaded via AJAX (the entire control as well as control data).
Inheritance Hierarchy
System.Web.UIControl
  Dynamicweb.ControlsAjaxControl
    More...

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public abstract class AjaxControl : Control, 
	IResourceLoader, IPostBackEventHandler, IPostBackDataHandler

The AjaxControl type exposes the following members.

Constructors
  NameDescription
Protected methodAjaxControl
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyClientScriptBlock
If server page header or clientscript not available (like in Module Paragraph settings). You could add JS of the AjaxControl in your page manually.
Public propertyEnableLegacyRendering
Gets or sets value indicating whether to enable legacy rendering.
Public propertyEventArgument
Gets the current event argument.
Public propertyEventTarget
Gets the current event target.
Public propertyIsPostBack
Gets value indicating whether HTTP form is being posted to the server.
Public propertyIsProcessingEvents
Gets value indicating whether control is currently processing events.
Public propertyIsTextualResponse
Gets or sets value indicating whether to dispatch a textual response rather than JavaScript object.
Public propertyStatic memberSystemRequestFields
Gets the list of system field names when performing AJAX requests to the web-server.
Top
Methods
  NameDescription
Protected methodContainsCodeBlocks
Determines whether the given control contains code blocks.
Protected methodControl_Load
Handles control's "Load" event.
Protected methodControl_PreRender
Handles control's "PreRender" event.
Protected methodGetDataLoadScript(String)
Returns a script that registers a new sends a "Data load" request to the server.
Protected methodGetDataLoadScript(String, Boolean)
Returns a script that registers a new sends a "Data load" request to the server.
Protected methodGetDataLoadScript(String, String)
Returns a script that registers a new sends a "Data load" request to the server.
Protected methodGetDataLoadScript(String, String, Boolean)
Returns a script that registers a new sends a "Data load" request to the server.
Public methodGetResponse
Causes the control to load its data and returns the JavaScript code block that contains control data.
Public methodLoadPostData
Processes postback data for an ASP.NET server control.
Public methodLoadResources
Loads control resource.
Protected methodOnLoad
Performs "Load" event.
Public methodRaisePostBackEvent
Processes server events.
Public methodRaisePostDataChangedEvent
Signals the server control to notify the ASP.NET application that the state of the control has changed.
Protected methodRender(HtmlTextWriter)
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
Protected methodRender(HtmlTextWriter, Boolean)
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
Public methodRenderClientObject
Renders client-side object.
Public methodRenderControl
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
Protected methodWriteResponse
Writes a response to the given output stream. The response MIME type must be "application/javascript".
Top
Remarks