RadPanelBar for ASP.NET

Define the Structure Inline Send comments on this topic.
See Also
Defining the Telerik RadPanelBar structure > Define the Structure Inline

Glossary Item Box

Telerik RadPanelBar provides a convenient mechanism that allows you to define the structure of a panelbar inline, directly in the ASPX/ASCX file. To do this you need to enclose every RadPanelItem definition within the <rad:RadPanelBar> and  </rad:RadPanelBar> tags.

  Copy Code
<rad:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Default">
  
<Items>
      
<rad:RadPanelItem runat="server" Text="Root RadPanelItem">
          
<Items>
              
<rad:RadPanelItem runat="server" Text="Child RadPanelItem">
              
</rad:RadPanelItem>
              
<rad:RadPanelItem runat="server" Text="Child RadPanelItem">
              
</rad:RadPanelItem>
          
</Items>
      
</rad:RadPanelItem>
      
<rad:RadPanelItem runat="server" Text="Root RadPanelItem">
          
<Items>
              
<rad:RadPanelItem runat="server" Text="Child RadPanelItem">
              
</rad:RadPanelItem>
              
<rad:RadPanelItem runat="server" Text="Child RadPanelItem">
              
</rad:RadPanelItem>
          
</Items>
      
</rad:RadPanelItem>
  
</Items>
</
rad:RadPanelBar>

You can use the Visual Studio designer and the Build RadPanelBar... option to define your panelbar structure.

See Also