ComponentOne ASP.NET MVC Controls
LazyLoadFunction Method

C1.Web.Mvc.Fluent Namespace > TreeViewBuilder Class : LazyLoadFunction Method
The value.
Configurates C1.Web.Mvc.TreeView.LazyLoadFunction. Sets a client function that loads child nodes on demand.
Syntax
'Declaration
 
Public Function LazyLoadFunction( _
   ByVal value As String _
) As TreeViewBuilder
public TreeViewBuilder LazyLoadFunction( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
It takes two parameters: the node being and a callback to be invoked when the data becomes available. The callback function tells the C1.Web.Mvc.TreeView that the node loading process has been completed. It should always be called, even if there are errors when loading the data.
See Also

Reference

TreeViewBuilder Class
TreeViewBuilder Members