ComponentOne ASP.NET MVC Controls
ListBox<T>(String) Method

C1.Web.Mvc.Fluent Namespace > ControlBuilderFactory Class > ListBox Method : ListBox<T>(String) Method
The data item type.
Specifies a selector. It is optional. If it is not set, a default dom element will be generated.
Creates a C1.Web.Mvc.ListBox<T> control and attaches it to the dom elements matching against the specified selector.
Syntax
'Declaration
 
Public Overloads Function ListBox(Of T)( _
   Optional ByVal selector As String _
) As ListBoxBuilder(Of T)
public ListBoxBuilder<T> ListBox<T>( 
   string selector
)

Parameters

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

Type Parameters

T
The data item type.

Return Value

See Also

Reference

ControlBuilderFactory Class
ControlBuilderFactory Members
Overload List