Glossary Item Box

Client-side API: HtmlDropDownList client side API

Overview: Overview

See Also AspLib component library Send comments on this topic.

HtmlDropDownList

Dropdown list capable of displaying item text as any html.

 

Features:

 

HtmlDropDownList view sample:

HtmlDropDownList is initialized by a HtmlListItem set with initialized Text property (any HTML) and Value property (element value). In case of selecting any element the box will display the Text property HTML.

BoxText property can also be initialized. In this case if an element is selected then the box will display the BoxText property HTML. However, the dropdown list will display the Text property HTML.

In HtmlDropDownList items - both images and text. BoxText - Select card type - visible when list is invisible.

 

Use HasHorizontalScrollbar property to set can the control has horizontal scrollbar or not. 

AJAX behavior

Control has AJAX behavior - it may loads collection of values only after clicking on the drop-down button, not during page rendering - it decreases traffic.

Only set property: EnableAjaxBehavior=True

Keyboard navigation

Use keyboard to navigate HtmlDropDownList .

In HtmlDropDownList box - press Down key to show pop-up window.

In the pop-up use next keys:

Keyboard key Action
Up Move to the up item
Down Move to the down item
Escape Close pop-up
Enter Select an item - and close pop-up

Client-side API: HtmlDropDownList client side API

Overview: Overview

 

 


© 2002-2007 Astron Digital. All Rights Reserved.