ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / TreeView Class / LazyLoadFunction Property

In This Topic
    LazyLoadFunction Property
    In This Topic
    Gets or sets a client function that loads child nodes on demand.
    Syntax
    'Declaration
     
    
    <JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
    Public Property LazyLoadFunction As String
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public string LazyLoadFunction {get; set;}
    Remarks
    It takes two parameters: the node being and a callback to be invoked when the data becomes available. The callback function tells the 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