[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ControlBuilderFactory.ComboBox

ComboBox Method

ComboBox<T>(string)

Creates a ComboBox<T> control and attaches it to the dom elements matching against the specified selector.

Declaration
public ComboBoxBuilder<T> ComboBox<T>(string selector = null)
Parameters
Type Name Description
string selector

Specifies a selector. It is optional. If it is not set, a default dom element will be generated.

Returns
Type Description
ComboBoxBuilder<T>

A ComboBoxBuilder<T>.

Type Parameters
Name Description
T

The data item type.

ComboBox(string)

Creates a ComboBox<T> control and attaches it to the dom elements matching against the specified selector.

Declaration
public ComboBoxBuilder<object> ComboBox(string selector = null)
Parameters
Type Name Description
string selector

Specifies a selector. It is optional. If it is not set, a default dom element will be generated.

Returns
Type Description
ComboBoxBuilder<object>

A ComboBoxBuilder<T>.