[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ControlBuilderFactory.MultiSelect

MultiSelect Method

MultiSelect<T>(string)

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

Declaration
public MultiSelectBuilder<T> MultiSelect<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
MultiSelectBuilder<T>

A MultiSelectBuilder<T>.

Type Parameters
Name Description
T

The data item type.

MultiSelect(string)

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

Declaration
public MultiSelectBuilder<object> MultiSelect(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
MultiSelectBuilder<object>

A MultiSelectBuilder<T>.