Click or drag to resize

TemplatedDropDownList Class

Represents a custom drop-down list.
Inheritance Hierarchy
System.Web.UI.WebControlsCompositeDataBoundControl
  Dynamicweb.ControlsTemplatedDropDownList

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public class TemplatedDropDownList : CompositeDataBoundControl, 
	IPostBackDataHandler, IPostBackEventHandler, IResourceLoader

The TemplatedDropDownList type exposes the following members.

Constructors
  NameDescription
Public methodTemplatedDropDownList
Initializes a new instance of the TemplatedDropDownList class
Top
Properties
  NameDescription
Public propertyAutoPostBack
Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the drop-down list selection.
Public propertyBoxTemplate
Gets or sets the ITemplate that defines how selected item in the drop-down list is displayed.
Public propertyClientInstanceName
Gets the name of the object instance that can be used to refer to the drop-down list from the client script.
Public propertyExpandableAreaHeight
Gets or sets the height of the expandable area.
Public propertyExpandableAreaWidth
Gets or sets the width of the expandable area.
Public propertyItemTemplate
Gets or sets the ITemplate that defines how items in the drop-down list are displayed.
Public propertyOnClientDataExchange
Gets or sets the Javascript handler which is executed at the time when the data between drop-down list item and selected item can be exchanged.
Public propertyOnClientExpandedStateChanged
Gets or sets the Javascript handler which is executed when drop-down list is expanded or collapsed.
Public propertyOnClientSelectedIndexChanged
Gets or sets the Javascript handler which is executed when user changes the drop-down list selection.
Public propertySelectedItemIndex
Gets or sets the 0-based index of the item that is currently selected.
Top
Methods
  NameDescription
Protected methodCreateChildControls
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.
Public methodLoadPostData
Processes postback data.
Public methodLoadResources
Loads control resources.
Protected methodOnItemDataBound
Fires after an item in the drop-down list is data-bound but before it is rendered on the page.
Protected methodOnLoad
Fires when control is loaded on the page.
Protected methodOnSelectedIndexChanged
Fires when user changes the selection in the drop-down list.
Public methodRaisePostBackEvent
Enables a server control to process an event raised when a form is posted to the server.
Public methodRaisePostDataChangedEvent
Signals the server control to notify the ASP.NET application that the state of the control has changed.
Protected methodRender
Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
Top
Events
  NameDescription
Public eventItemDataBound
Occurs after an item in the drop-down list is data-bound but before it is rendered on the page.
Public eventSelectedIndexChanged
Occurs when selected index has been changed.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultHeight
Public fieldStatic memberDefaultWidth
Top
Remarks