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






In This Topic
    LazyLoadFunction Property (TreeView)
    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 System.String
    'Usage
     
    
    Dim instance As TreeView
    Dim value As System.String
     
    instance.LazyLoadFunction = value
     
    value = instance.LazyLoadFunction
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public System.string LazyLoadFunction {get; set;}
    public read-write property LazyLoadFunction: System.String; 
    JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)
    public function get,set LazyLoadFunction : System.String
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public: __property System.string* get_LazyLoadFunction();
    public: __property void set_LazyLoadFunction( 
       System.string* value
    );
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public:
    property System.String^ LazyLoadFunction {
       System.String^ get();
       void set (    System.String^ value);
    }
    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