ComponentOne ASP.NET MVC Controls
Bind(IEnumerable<Object>,String) Method

C1.Web.Mvc.Fluent Namespace > TreeViewBuilder Class > Bind Method : Bind(IEnumerable<Object>,String) Method
The nodes data.
URL of the load action for lazy nodes. It is optional. When it is provided, the C1.Web.Mvc.TreeView control works in lazy loading mode. Otherwise, all the nodes will be loaded from data.
Loads the nodes from the specified data.
Syntax
'Declaration
 
Public Overloads Function Bind( _
   ByVal data As IEnumerable(Of Object), _
   Optional ByVal lazyLoadActionUrl As String _
) As TreeViewBuilder

Parameters

data
The nodes data.
lazyLoadActionUrl
URL of the load action for lazy nodes. It is optional. When it is provided, the C1.Web.Mvc.TreeView control works in lazy loading mode. Otherwise, all the nodes will be loaded from data.

Return Value

See Also

Reference

TreeViewBuilder Class
TreeViewBuilder Members
Overload List