[]
Loads the nodes from the specified data.
public TreeViewBuilder Bind(IEnumerable<object> data, string lazyLoadActionUrl = null)
Public Function Bind(data As IEnumerable(Of Object), Optional lazyLoadActionUrl As String = Nothing) As TreeViewBuilder
| Type | Name | Description |
|---|---|---|
| IEnumerable<object> | data | The nodes data. |
| string | lazyLoadActionUrl | URL of the load action for lazy nodes. It is optional. When it is provided, the TreeView control works in lazy loading mode. Otherwise, all the nodes will be loaded from data. |
| Type | Description |
|---|---|
| TreeViewBuilder |
Loads the nodes from the specified url.
public TreeViewBuilder Bind(string loadActionUrl, string lazyLoadActionUrl = null)
Public Function Bind(loadActionUrl As String, Optional lazyLoadActionUrl As String = Nothing) As TreeViewBuilder
| Type | Name | Description |
|---|---|---|
| string | loadActionUrl | URL of the load action. |
| string | lazyLoadActionUrl | URL of the load action for lazy nodes. It is optional. When it is provided, the TreeView control works in lazy loading mode. Otherwise, all the nodes will be loaded from data. |
| Type | Description |
|---|---|
| TreeViewBuilder |