ASP.NET 3.5 and above only

ASP.NET TreeView - Types of Expand Mode

When the ExpandMode property is set to,
  • ClientSide, this will expand the child nodes in the client itself.
  • ServerSide, this will trigger a postback to load child nodes on demand.
  • ServerSideCallback, this will trigger asyncronous postback to load child nodes on demand.
Client Side Server-Side Server-Side Callback
  • Node 0
    • Node 00
      • Node 000
  • Node 1
    • Node 10
      • Node 100
  • Node 0
  • Node 1
  • Node 0
  • Node 1
[ASPX]

<obout:Tree ID="OboutTree1" CssClass="vista" Width="150px" runat="server">
    <Nodes>
        <obout:Node Text="Node 0">
                     <obout:Node Text="Node 00">
                    ...
                    </obout:Node>
        ...
        </obout:Node>
        ...
    </Nodes>
</obout:Tree>


<obout:Tree ID="OboutTree2" CssClass="vista" Width="150px" runat="server">
    <Nodes>
        <obout:Node ExpandMode="ServerSide" Text="Node 0">
            <obout:Node ExpandMode="ServerSide" Text="Node 00">
                ...
            </obout:Node>
        ...
        </obout:Node>
        ...
    </Nodes>
</obout:Tree>

<obout:Tree ID="OboutTree3" CssClass="vista" Width="150px" runat="server">
    <Nodes>
        <obout:Node ExpandMode="ServerSideCallback" Text="Node 0">
            <obout:Node ExpandMode="ServerSideCallback" Text="Node 00">
            ...
            </obout:Node>
        </obout:Node>
        ...
    </Nodes>
</obout:Tree>
            

"I just want to say that your response time is incredible... the developer we have working with the license we purchased (Grid) has reported that he is getting technical support responses in under an hour consistently (and they make sense and solve his problems). GREAT company! I will be telling others about our experience."

Scott MacDonald
Velsoft

Random testimonial   All testimonials