Click or drag to resize
KaxTreeViewLoadingMessage Property
Gets or sets the loading message that is displayed when child nodes are retrieved on AJAX calls.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public string LoadingMessage { get; set; }

Property Value

Type: String
Remarks
This property can be used for localization purposes (e.g. "Loading..." in different languages).
Examples
[New Example]
Protected Sub LoadingMessagePositionChanged(ByVal sender As Object, ByVal e As System.EventArgs)
    Select Case LoadingMessagePos.SelectedItem.Value
        Case "Before"
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.BeforeNodeText
            KaxTree1.LoadingMessage = "(loading ..)"
        Case "After"
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.AfterNodeText
            KaxTree1.LoadingMessage = "(loading ...)"
        Case "Below"
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.BelowNodeText
            KaxTree1.LoadingMessage = "(loading ...)"
        Case "None"
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.None
    End Select
End Sub
[New Example]
protected void LoadingMessagePositionChanged(object sender, System.EventArgs e) 
{
    switch (LoadingMessagePos.SelectedItem.Value)
    {
        case "Before" : 
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.BeforeNodeText; 
            KaxTree1.LoadingMessage = "(loading ..)";
            break;
        case "After" :    
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.AfterNodeText;
            KaxTree1.LoadingMessage = "(loading ...)";
            break;
        case "Below" :    
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.BelowNodeText; 
            KaxTree1.LoadingMessage = "(loading ...)";
            break;
        case "None" :                        
            KaxTree1.LoadingStatusPosition = TreeViewLoadingStatusPosition.None; 
            break;
    }
}
See Also