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

In This Topic
    ExpandOnLoad Property
    In This Topic
    Gets or sets a value that determines whether to toggle checkboxes when the user clicks the node header.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(True)>
    Public Property ExpandOnLoad As Boolean
    [DefaultValue(true)]
    public bool ExpandOnLoad {get; set;}
    Remarks
    The default value for this property is false, which causes checkboxes to be toggled only when the user clicks the checkbox itself (not the node header).
    See Also