Click or drag to resize

Combobox 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 Combobox : AjaxRichControl, IRequestItem

The Combobox type exposes the following members.

Constructors
  NameDescription
Public methodCombobox
Initializes a new instance of the Combobox class
Top
Properties
  NameDescription
Public propertyAllowAutocompletion
Gets or sets the value which indicates whether to use autocompletion for value searching.
Public propertyAllowEditing
Gets or sets a value that indicates whether editing is enabled.
Public propertyAllowEmpty
Gets or sets a value that indicates whether empty value is allowed.
Public propertyAutocompleteExpression
Gets or sets the function which overrides the defualt autocmplete function.
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 propertyEditExpression
Gets or sets a value which overrides the defualt editor.
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 propertyOnClientItemCreated
Occurs when a item is created, but after Combobox control adds it.
Public propertyOnClientItemCreating
Occurs when a item is created, but before Combobox control adds it.
Public propertyOnClientItemSelected
Occurs when a dropdown item is clicked, but after the Combobox control selects it.
Public propertyOnClientItemSelecting
Occurs when a dropdown item is clicked, but before the Combobox control selects it.
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 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 methodGetSelectedItem
Returns selected item.
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) (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