Click or drag to resize

CustomListBox Class

Represents a custom list box.
Inheritance Hierarchy

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public class CustomListBox : AjaxRichControl, 
	IRequestItem

The CustomListBox type exposes the following members.

Constructors
  NameDescription
Public methodCustomListBox
Initializes a new instance of the EditableList class.
Top
Properties
  NameDescription
Public propertyClientInstanceName
Gets the unique name of the client-side object instance variable.
(Inherited from AjaxRichControl.)
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.
(Inherited from AjaxControl.)
Public propertyCssClass
Gets or sets the additional CSS class name to apply to control container.
(Inherited from AjaxRichControl.)
Public propertyDataSource
Gets or sets the object from which the data-bound control retrieves its list of data items.
Protected propertyDefinition
Gets an object that is used to identify the control on the client.
(Inherited from AjaxRichControl.)
Public propertyEnabled
Gets or sets value indicating whether control is enabled.
(Inherited from AjaxRichControl.)
Public propertyEnableLegacyRendering
Gets or sets value indicating whether to enable legacy rendering.
(Inherited from AjaxControl.)
Public propertyEventArgument
Gets the current event argument.
(Inherited from AjaxControl.)
Public propertyEventTarget
Gets the current event target.
(Inherited from AjaxControl.)
Public propertyIsPostBack
Gets value indicating whether HTTP form is being posted to the server.
(Inherited from AjaxControl.)
Public propertyIsProcessingEvents
Gets value indicating whether control is currently processing events.
(Inherited from AjaxControl.)
Public propertyIsTextualResponse
Gets or sets value indicating whether to dispatch a textual response rather than JavaScript object.
(Inherited from AjaxControl.)
Public propertyOnClientItemAdded
Occurs when a value is selected in a CustomSelectBox control, but after the CustomSelectBox control adds the item.
Public propertyOnClientItemAdding
Occurs when a value is selected in a CustomSelectBox control, but before the CustomSelectBox control adds the item.
Public propertyOnClientItemRemoved
Occurs when a Remove button is clicked, but after the CustomSelectBox control removes the item.
Public propertyOnClientItemRemoving
Occurs when a Remove button is clicked, but before the CustomSelectBox control removes the item.
Public propertyOnClientListCleared
Occurs when a Clear button is clicked, but after the CustomSelectBox control removes all the items.
Public propertyOnClientListClearing
Occurs when a Clear button is clicked, but before the CustomSelectBox control removes all the items.
Public propertyOnClientReady
Gets or sets the client-side script that is executed when the control is ready to accept user input.
(Inherited from AjaxRichControl.)
Public propertyProvider
Gets or sets value selection provider.
Public propertyRequestKey
Gets or sets the name of the request key used to retrieve control value from the current HTTP request.
Public propertyTag
Gets or sets the custom information associated with the control.
(Inherited from AjaxRichControl.)
Top
Methods
  NameDescription
Protected methodContainsCodeBlocks
Determines whether the given control contains code blocks.
(Inherited from AjaxControl.)
Protected methodControl_Load
Handles control's "Load" event.
(Inherited from AjaxControl.)
Protected methodControl_PreRender
Handles control's "PreRender" event.
(Inherited from AjaxControl.)
Protected methodDeserializeObjectT
Protected methodGetClientDefinition (Overrides AjaxRichControlGetClientDefinition.)
Protected methodGetDataLoadScript(String)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Protected methodGetDataLoadScript(String, Boolean)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Protected methodGetDataLoadScript(String, String)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Protected methodGetDataLoadScript(String, String, Boolean)
Returns a script that registers a new sends a "Data load" request to the server.
(Inherited from AjaxControl.)
Public methodGetResponse
Causes the control to load its data and returns the JavaScript code block that contains control data.
(Inherited from AjaxControl.)
Public methodLoadPostData
Processes postback data for an ASP.NET server control.
(Inherited from AjaxControl.)
Public methodLoadResources
Loads control resources.
(Inherited from AjaxRichControl.)
Protected methodOnLoad
Performs "Load" event.
(Inherited from AjaxControl.)
Public methodRaisePostBackEvent
Processes server events.
(Inherited from AjaxControl.)
Public methodRaisePostDataChangedEvent
Signals the server control to notify the ASP.NET application that the state of the control has changed.
(Inherited from AjaxControl.)
Protected methodRender(HtmlTextWriter)
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
(Overrides AjaxRichControlRender(HtmlTextWriter).)
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.
(Inherited from AjaxRichControl.)
Public methodRenderClientObject
Renders client-side object.
(Inherited from AjaxRichControl.)
Protected methodRenderClientObjectProperties (Overrides AjaxRichControlRenderClientObjectProperties(TextWriter).)
Public methodRenderControl
Sends control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from AjaxRichControl.)
Protected methodSerializeObject
Protected methodWriteResponse
Writes a response to the given output stream. The response MIME type must be "application/javascript".
(Inherited from AjaxControl.)
Top
Remarks