RadPanelBar for ASP.NET

RadPanelbar Send comments on this topic.
RadPanelItem Class
See Also  Members  
Telerik.WebControls Namespace : RadPanelItem Class


Represents a single item in the RadPanelbar control.

Object Model




 

Namespace: Telerik.WebControls
Assembly: RadPanelbar (in RadPanelbar.dll)

Syntax

Visual Basic (Declaration) 
Public Class RadPanelItem 
   Inherits WebControl
   Implements IRadPanelItemContainer 
Visual Basic (Usage)Copy Code
Dim instance As RadPanelItem
C# 
public class RadPanelItem : WebControl, IRadPanelItemContainer  

Remarks

The RadPanelbar control is made up of a hierarchy of panel items represented by RadPanelItem objects. Panel items at the top level (level 0) are called root panel items. A panel item that has a parent panel item is called subpanel item. All root panel items are stored in the Items collection of the panel. Subpanel items are stored in a parent panel item's Items collection. You can access a panel item's parent panel item by using the Owner property.

To create the panel items for a RadPanelbar control, use one of the following methods:

  • Use declarative syntax to create static panel items.
  • Use a constructor to dynamically create new instances of the RadPanelItem class. These RadPanelItem objects can then be added to the Items collection of their owner.
  • Bind the RadPanelbar control to a data source.

When the user clicks a panel item, the panel control can either navigate to a linked Web page or simply post back to the server. If the NavigateUrl property of a panel item is set, the RadPanelbar control navigates to the linked page. By default, a linked page is displayed in the same window or frame as the RadPanelbar control. To display the linked content in a different window or frame, use the Target property.

Each panel item has a Text and a Value property. The value of the Text property is displayed in the RadPanelbar control, while the Value property is used to store any additional data about the panel item.

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         Telerik.WebControls.RadPanelItem

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also