Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.ControlItemContainerTelerik.Web.UI.RadPanelBar
Events
Adds a contextMenu event handler for the radpanelbar
add_contextMenu
The event handler function to attach
Adds a itemBlur event handler for the radpanelbar
add_itemBlur
The event handler function to attach
Adds a itemClicked event handler for the radpanelbar
add_itemClicked
The event handler function to attach
Adds a itemClicking event handler for the radpanelbar
add_itemClicking
The event handler function to attach
Adds a itemCollapse event handler for the radpanelbar
add_itemCollapse
The event handler function to attach
Adds a itemExpand event handler for the radpanelbar
add_itemExpand
The event handler function to attach
Adds a itemFocus event handler for the radpanelbar
add_itemFocus
The event handler function to attach
Adds a load event handler for the radpanelbar
add_load
The event handler function to attach
Adds a mouseOut event handler for the radpanelbar
add_mouseOut
The event handler function to attach
Adds a mouseOver event handler for the radpanelbar
add_mouseOver
The event handler function to attach
Removes a contextMenu event handler from the radpanelbar
remove_contextMenu
The event handler function to remove
Removes a itemBlur event handler from the radpanelbar
remove_itemBlur
The event handler function to remove
Removes a itemClicked event handler from the radpanelbar
remove_itemClicked
The event handler function to remove
Removes a itemClicking event handler from the radpanelbar
remove_itemClicking
The event handler function to remove
Removes a itemCollapse event handler from the radpanelbar
remove_itemCollapse
The event handler function to remove
Removes a itemExpand event handler from the radpanelbar
remove_itemExpand
The event handler function to remove
Removes a itemFocus event handler from the radpanelbar
remove_itemFocus
The event handler function to remove
Removes a load event handler from the radpanelbar
remove_load
The event handler function to remove
Removes a mouseOut event handler from the radpanelbar
remove_mouseOut
The event handler function to remove
Removes a mouseOver event handler from the radpanelbar
remove_mouseOver
The event handler function to remove
Methods
Writes the changes to the listbox that were made since a previous call to trackChanges, so that they are preserved over post-backs.
commitChanges(): void
Disables all items in the panel. Clicking on any item has no effect, child items cannot be opened.
disable(): void
Disables RadPanelBar client side events
disableEvents(): void
Enables all items in the panel.
enable(): void
Enables the RadPanelBar client-side event emitting. Events are enabled by default.
enableEvents(): void
Returns the first RadPanelItem object whose NavigateUrl property is equal to the passed parameter. Note that the parameter should end with "/" like: var item = sender.findItemByAbsoluteUrl("http://www.test.com/");
findItemByAbsoluteUrl(String value): Telerik.Web.UI.RadPanelItem
NavigateUrl of the Item
Returns:Telerik.Web.UI.RadPanelItem
Returns the first RadPanelItem whose NavigateUrl property matches the passed parameter.
Returns the first RadPanelItem object with a custom attribute of the specified name that has the specified value.
findItemByAttribute(String attributeName, String attributeValue): Telerik.Web.UI.RadPanelItem
attributeName
attributeValueStringattributeValue
Returns:Telerik.Web.UI.RadPanelItem
Returns the first RadPanelItem whose Text property matches the passed parameter.
findItemByText(String text): Telerik.Web.UI.RadPanelItem
The text to search for.
Returns:Telerik.Web.UI.RadPanelItem
Returns the first RadPanelItem whose NavigateUrl property matches the passed parameter.
findItemByUrl(String value): Telerik.Web.UI.RadPanelItem
NavigateUrl of the Item
Returns:Telerik.Web.UI.RadPanelItem
Returns the first RadPanelItem object whose Value property is equal to the passed parameter.
findItemByValue(String value): Telerik.Web.UI.RadPanelItem
The value to search for.
Returns:Telerik.Web.UI.RadPanelItem
Returns the first RadPanelItem whose Value property matches the passed parameter.
Gets a linear collection of all items. This includes all root and child items in the panel.
get_allItems(): Array
Array
Gets the allowCollapseAllItems property value.
get_allowCollapseAllItems(): Boolean
Boolean
True if the allowCollapseAllItems is enabled
Returns the collection of custom attributes for the control.
get_attributes(): Telerik.Web.UI.AttributeCollection
Telerik.Web.UI.AttributeCollection
A collection of custom attributes.
Gets the DOM element for the list of items in the panel.
get_childListElement(): Element
Element
The UL element of the RadPanelBar.
Gets the value of the collapseDelay property.
get_collapseDelay(): Number
Number
The collapseDelay value.
Gets the name of the cookie that stores the control state.
get_cookieName(): String
String
Name of the cookie.
Gets the DOM element for the panel.
get_element(): Element
Element
Returns a value indicating if the control is enabled.
get_enabled(): Boolean
Boolean
True if the control is enabled
Gets the value of the expandDelay property.
get_expandDelay(): Number
Number
The expandDelay value.
Returns the last root level item that was expanded. Null if no root level items are expanded.
get_expandedItem(): Telerik.Web.UI.RadPanelItem
Telerik.Web.UI.RadPanelItem
RadPanelItem
Returns an array of the RadPanelItem objects for every expanded item in the panel bar (including expanded child items).
get_expandedItems(): Array
Array
Returns the ExpandMode of the RadPanelBar
get_expandMode(): Telerik.Web.UI.ExpandMode
Telerik.Web.UI.ExpandMode
Returns the focused root level item. Null if no root level item has focus.
get_focusedItem(): Telerik.Web.UI.RadPanelItem
Telerik.Web.UI.RadPanelItem
Returns true if a RadPanelItem is set to be expanded in "FullExpandedItem" mode, false otherwise.
get_fullExpandedItem(): void
Gets item data for RadPanelItem.
get_itemData(): void
Returns the collection of root level items.
get_items(): Telerik.Web.UI.RadPanelItemCollection
Telerik.Web.UI.RadPanelItemCollection
Returns the last expanded item.
get_lastExpandedItem(): Telerik.Web.UI.RadPanelItem
Telerik.Web.UI.RadPanelItem
RadPanelItem
Gets if the "MultipleExpandedItems" mode of the RadPanelBar is set.
get_multiExpandedItem(): void
Gets the value of persistStateInCookie property of the control.
get_persistStateInCookie(): Boolean
Boolean
True if the persistStateInCookie is enabled
Returns whether the right-to-left support is enabled
get_rightToLeft(): Boolean
Boolean
True if the right
Returns the selected item if it exists. (It does not have to be a root level item). Null if the panel does not have a selected item.
get_selectedItem(): Telerik.Web.UI.RadPanelItem
Telerik.Web.UI.RadPanelItem
RadPanelItem
Returns an array containing the selected items in the panel. Because the panel bar does not allow more than one item to be selected, the array always has 0 or 1 elements.
get_selectedItems(): Array
Array
Array of RadPanelItems
Gets if the "SingleExpandedItem" mode of the RadPanelBar is set.
get_singleExpandedItem(): void
Refreshes the RadPanelBar UI.
repaint(): void
Saves the client state to the client state hidden field
saveClientState(): void
Sets the allowCollapseAllItems property value.
set_allowCollapseAllItems(Boolean value): void
The value of the allowCollapseAllItems property.
Sets the value of the collapseDelay property.
set_collapseDelay(Number value): void
The collapseDelay value.
Sets the name of the cookie to be used for storing the control state.
set_cookieName(String value): void
Name of the cookie.
Enables or disables the control.
set_enabled(Boolean value): void
True if the control is enabled
Sets the value of the expandDelay property.
set_expandDelay(Number value): void
The expandDelay value.
Sets the root level item to be expanded.
set_expandedItem(String value): void
Item value
Sets the Expand mode of the RadPanelBar
set_expandMode(Telerik.Web.UI.ExpandMode value): void
Expand mode
Sets the focus to explicit RadPanelItem.
set_focusedItem(String value): void
Item value
Sets a RadPanelItem to be expanded in "FullExpandedItem" mode.
set_fullExpandedItem(String value): void
Item value
Sets item data for RadPanelItem.
set_itemData(String value): void
Item value
Sets the RadPanelBar's root items.
set_items(Telerik.Web.UI.RadPanelItemCollection value): void
RadPanelBar
Sets the last root level item to be expanded.
set_lastExpandedItem(String value): void
Item value
Sets a RadPanelItem to be expanded in "MultipleExpandedItems" mode.
set_multiExpandedItem(String value): void
Item value
Sets the value of the persistStateInCookie property of the control.
set_persistStateInCookie(Boolean value): void
The value of the persistStateInCookie property.
Sets the selected item
set_selectedItem(String value): void
Item value
Sets a RadPanelItem to be expanded in "SingleExpandedItem" mode.
set_singleExpandedItem(String value): void
Item value
Begins tracking changes to the RadPanelBar items. Only changes to the items that occur between a call to trackChanges and commitChanges persist after a postback.
trackChanges(): void