APNSoft Controls [4.5.2.20] - API Reference
APNSoftComboBox Members

APNSoftComboBox overview

Public Instance Constructors

APNSoftComboBox Constructor Initializes a new instance of the APNSoftComboBox class.

Public Instance Properties

AutoPostBackOnItemClick Specifies whether the control causes a postback to the server when an Item is clicked. Default value is false.
AutoScrollList Allows to enable content auto scrolling while the mouse cursor is moving over the opened DropDown List.
BasePage (inherited from APNSoftControl) Gets or sets the reference to the Base Page. Used only in Code Behind.
ClientSideOnItemClick Gets or sets the client-side code to be launched when an item is clicked. Property value can include variables $ComponentID$ and $ItemID$, instead of which data is inserted.
ClientSideOnItemOver Gets or sets the client-side code to be launched while the mouse cursor is moving over the item in DropDown List. Property value can include variables $ComponentID$ and $ItemID$, instead of which data is inserted.
CSSClassesPrefix (inherited from APNSoftControl) Gets or sets the prefix for CSS Style classes. Used for association between the set of classes and component instance.
CSSSource (inherited from APNSoftControl) Gets or sets the location of the CSS Style. Default value is SkinFolder.
CSSStyleName (inherited from APNSoftControl) Gets or sets the name of the CSS Style. The CSS Style must be located in the Skin Folder as specified by the SkinFolder property.
CSSText (inherited from APNSoftControl) Sets the CSS style value for the control.
DataSource (inherited from APNSoftControl) Gets or sets the data source that provides data for populating the control.
DefaultIcon Specifies the image filename for the Default Icon if no items are selected from the DropDown List. The image file must be located in the Skin Folder of your web site, as specified by the SkinFolder property.
DefaultText Specifies default ComboBox text. Default text is displayed if no items are selected from the DropDown List.
Elements Gets the collection of elements.
FadeEffect Specifies whether the control displays the DropDown List with animated Fade effect. Default value is true.
FadeSpeed Gets or sets the speed of Fade Effect. Range: 0-50. Default value is 5.
ListClose Gets or sets a value indicating whether the DropDown List is closed by mouse click outside the control or automatically when the mouse goes away. Default value is Auto.
ListHeight Specifies the DropDown List height in pixels. If the height of the List content is more than property value, the Slider is displayed automatically. Default value is 140.
ListOpen Gets or sets a value indicating whether the DropDown List is opened by mouse click or automatically when user moves the mouse pointer over the control. Default value is OnMouseClick.
OutputFooter (inherited from APNSoftControl) Gets or sets the data used as a footer for the output HTML markup. Use the "Default" keyword for the standard comment.
OutputHeader (inherited from APNSoftControl) Gets or sets the data used as a header for the output HTML markup. Use the "Default" keyword for the standard comment.
Position (inherited from APNSoftControl) Gets or sets the type of positioning used for the control. Default value is Static.
PositionLeft (inherited from APNSoftControl) Gets or sets the left coordinate for the control, which positioned at an absolute position. Default value is 0.
PositionTop (inherited from APNSoftControl) Gets or sets the top coordinate for the control, which positioned at an absolute position. Default value is 0.
RegisterClientScript (inherited from APNSoftControl) Gets or sets a value indicating whether the component registers the client script with the Page. Default value is true.
SEOEnabled Gets or sets a value indicating whether the control renders an additional NOSCRIPT section with links let all search engines index your website properly. Default value is false.
SkinFolder (inherited from APNSoftControl) Gets or sets the URL for a Skin Folder. Skin Folder includes all component skin parts (CSS Style, images, etc.). The property value can be an absolute or relative URI.
StructureFileURL Gets or sets the URL to the structure file. If the property is not specified, component uses internal default structure. The property value can be an absolute or relative URI.
WarningsEnabled (inherited from APNSoftControl) Gets or sets a value indicating whether the component generates a client-side JavaScript messages which allow developers to control the component status. Default value is true.
Width Gets or sets a value indicating the width of the ComboBox in pixels. Note that the property value is equal or greater than the actual width of the DropDown List content. Default value is 220.
zIndex (inherited from APNSoftControl) Gets or sets the z-index style value for the control. Default value is 200.

Public Instance Methods

DataBind Creates a binding between the ComboBox control and a data source.
GetSelectedItemID Returns the selected Item ID.

Public Instance Events

OnItemClick Occurs on the server side when the item is clicked.

See Also

APNSoftComboBox Class | APNSoft.WebControls Namespace