New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.ControlItemTelerik.Web.UI.RadPanelItem

Methods

Removes focus from the item.

JS
blur(): void

Performs an item click. If a the ItemClick server event is wired, it will be fired.

JS
click(): void

Collapses the item if it is expanded.

JS
collapse(): void

Disables the item.

JS
disable(): void

Enables the item if it is disabled.

JS
enable(): void

Expands the item and reveals its children if any.

JS
expand(): void

Returns the client-side object of the Control with the specified ID nested in the Item's Template. The ID passed as an argument to the function MUST be the ID attribute of the nested Control.

JS
findControl(String id): Sys.UI.Control
Parameters:idString

The id of the control to search for.

Returns:

Sys.UI.Control

Moves focus to the item.

JS
focus(): void

Moves focus to the first child of the item.

JS
focusFirstChild(): void

Moves focus to the last child of the item.

JS
focusLastChild(): Object
Returns:

Object

Moves focus to the next item.

JS
focusNextItem(): void

Moves focus to the previous item.

JS
focusPreviousItem(): void

Returns the collection of custom attributes for the item.

JS
get_attributes(): Telerik.Web.UI.AttributeCollection
Returns:

Telerik.Web.UI.AttributeCollection

Gets the DOM element of the list of child items (UL).

JS
get_childListElement(): Element
Returns:

Element

Returns whether the item is clicked.

JS
get_clicked(): Boolean
Returns:

Boolean

Gets the CSS class for the item when it is clicked.

JS
get_clickedCssClass(): String
Returns:

String

Gets the CssClass property of the item.

JS
get_cssClass(): String
Returns:

String

Gets the CSS class for the item when it is disabled.

JS
get_disabledCssClass(): String
Returns:

String

Returns the path to an image to display for the item when it is disabled.

JS
get_disabledImageUrl(): String
Returns:

String

Gets the path to an image to display for the item when it is disabled.

Gets the root DOM element of the item (LI).

JS
get_element(): Element
Returns:

Element

HTML Element

Returns true if both the item and the panelbar are enabled. If one of them is disabled will return false.

JS
get_enabled(): Boolean
Returns:

Boolean

JS
get_expandable(): void

Gets the expanded/collapsed state of a panel bar item

JS
get_expanded(): Boolean
Returns:

Boolean

Gets the CSS class for the item when it is expanded.

JS
get_expandedCssClass(): String
Returns:

String

Gets the URL of the image displayed when item is expanded.

JS
get_expandedImageUrl(): String
Returns:

String

Returns the child item that was most recently expanded. Null if no child item is expanded.

JS
get_expandedItem(): Telerik.Web.UI.RadPanelItem
Returns:

Telerik.Web.UI.RadPanelItem

Gets the expand handle DOM element of a RadPanelItem.

JS
get_expandHandleElement(): Element
Returns:

Element

Returns a boolean indicating whether the item has focus.

JS
get_focused(): void

Gets the CSS class for the item when it has focus.

JS
get_focusedCssClass(): String
Returns:

String

Gets the focused child item. Null if no child item is focused.

JS
get_focusedItem(): Telerik.Web.UI.RadPanelItem
Returns:

Telerik.Web.UI.RadPanelItem

Returns a value indicating if the item has content template.

JS
get_hasContentTemplate(): Boolean
Returns:

Boolean

True if the item has content template

Gets the header DOM element for a RadPanelItem.

JS
get_headerElement(): Element
Returns:

Element

Gets the URL of the image displayed when the mouse if over the item.

JS
get_hoveredImageUrl(): String
Returns:

String

Gets the image DOM element of the item. If the server side ImageUrl property is not set, returns null.

JS
get_imageElement(): Element
Returns:

Element

Gets the URL of the image.

JS
get_imageUrl(): String
Returns:

String

Gets the zero-based index of the item inside its parent items collection.

JS
get_index(): Number
Returns:

Number

Returns true if both the item and the panelbar are enabled. If one of them is disabled will return false.

JS
get_isEnabled(): Boolean
Returns:

Boolean

Returns true if the item index is first, otherwise returns false.

JS
get_isFirst(): Boolean
Returns:

Boolean

Indicates whether the item is first.

Returns true if the item index is last, otherwise returns false.

JS
get_isLast(): Boolean
Returns:

Boolean

Returns true if the RadPanelItem is last

Returns true the item is a separator (sever-side property IsSeparator = true)

JS
get_isSeparator(): Boolean
Returns:

Boolean

Returns the child items of the current item.

JS
get_items(): Telerik.Web.UI.RadPanelItemCollection
Returns:

Telerik.Web.UI.RadPanelItemCollection

Gets the level of the item. Root level items are level 0.

JS
get_level(): Number
Returns:

Number

Returns the level of the item as number.

Gets the anchor DOM element of the item (A).

JS
get_linkElement(): Element
Returns:

Element

Defines whether the item should navigate after click.

JS
get_navigateAfterClick(): Boolean
Returns:

Boolean

Returns the URL of the Web page the panel item launches.

JS
get_navigateUrl(): String
Returns:

String

Returns the next sibling or null if this is the last item at its level.

JS
get_nextSibling(): Telerik.Web.UI.RadPanelItem
Returns:

Telerik.Web.UI.RadPanelItem

Returns an instance of the panel bar that contains the item.

JS
get_panelBar(): Telerik.Web.UI.RadPanelBar
Returns:

Telerik.Web.UI.RadPanelBar

Returns the postback value of a RadPanelItem.

JS
get_postBack(): Boolean
Returns:

Boolean

Returns a value indicating if the item should collapse.

JS
get_preventCollapse(): Boolean
Returns:

Boolean

True if the item is should collapse

Returns the previous sibling or null if this is the first item at its level.

JS
get_previousSibling(): Telerik.Web.UI.RadPanelItem
Returns:

Telerik.Web.UI.RadPanelItem

Returns whether the item is selected.

JS
get_selected(): Boolean
Returns:

Boolean

Gets the CSS class for the item when it is selected.

JS
get_selectedCssClass(): String
Returns:

String

Gets the URL of the image displayed when item is selected.

JS
get_selectedImageUrl(): String
Returns:

String

Gets the selected item.

JS
get_selectedItem(): Telerik.Web.UI.RadPanelItem
Returns:

Telerik.Web.UI.RadPanelItem

Returns the value of "target" attribute of the anchor DOM element of the item (A).

JS
get_target(): String
Returns:

String

Returns a value indicating if the item is templated.

JS
get_templated(): Boolean
Returns:

Boolean

True if the item is templated

Returns the text of the item.

JS
get_text(): String
Returns:

String

Gets the DOM element of the item text (SPAN).

JS
get_textElement(): Element
Returns:

Element

Returns the Value property of the item.

JS
get_value(): String
Returns:

String

Returns true if the items is visible or false if the item is invisible.

JS
get_visible(): Boolean
Returns:

Boolean

Makes the item invisible.

JS
hide(): void

Selects the item.

JS
select(): void

Sets the CSS class for the item when it is clicked.

JS
set_clickedCssClass(String value): void
Parameters:valueString

The CSS class for the item when it is clicked.

Sets the CssClass property for the item.

JS
set_cssClass(String value): void
Parameters:valueString

The CssClass property for the item.

Sets the CSS class for the item when it is disabled.

JS
set_disabledCssClass(String value): void
Parameters:valueString

The CSS class for the item when it is disabled.

Sets the path to an image to display for the item when it is disabled.

JS
set_disabledImageUrl(String value): void
Parameters:valueString

Value of the item.

Sets the root DOM element of the item(LI).

JS
set_element(Element value): void
Parameters:valueElement

HTML Element

Sets the enabled state of the item.

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

The enabled state of the item.

Expands /Collapses the item.

JS
set_expanded(Boolean value): void
Parameters:valueBoolean

Expands

Sets the CSS class for the item when it is expanded.

JS
set_expandedCssClass(String value): void
Parameters:valueString

The CSS class for the item when it is expanded.

Sets the URL of the image displayed when item is expanded.

JS
set_expandedImageUrl(String value): void
Parameters:valueString

URL of the image displayed when item is expanded.

Sets the expanded item

JS
set_expandedItem(Telerik.Web.UI.RadPanelItem value): void
Parameters:valueTelerik.Web.UI.RadPanelItem

Expanded item.

Sets a boolean indicating whether the item has focus.

JS
set_focused(Boolean Boolean): Object
Parameters:BooleanBooleanReturns:

Object

Sets the CSS class for the item when it has focus.

JS
set_focusedCssClass(String value): void
Parameters:valueString

The CSS class for the item when it has focus.

Sets the focused RadPanelItem

JS
set_focusedItem(String value): void
Parameters:valueString

Value of the item.

Sets the URL of the image displayed when the mouse if over the item.

JS
set_hoveredImageUrl(String value): void
Parameters:valueString

URL of the image displayed when the mouse if over the item.

Sets the URL of the image.

JS
set_imageUrl(String value): void
Parameters:valueString

URL of the image

Finds a RadPanelItem by value and sets it to be a separator.

JS
set_isSeparator(Boolean value): void
Parameters:valueBoolean

Finds a RadPanelItem by value and sets it to be a separator.

Sets lastExpandedItem property.

JS
set_lastExpandedItem(Boolean value): void
Parameters:valueBoolean

Finds a RadPanelItem by value and sets it to be a expanded.

Sets the URL of the Web page the panel item launches.

JS
set_navigateUrl(String value): void
Parameters:valueString

URL of the Web page the panel item launches.

Returns the postBack value of a RadPanelItem.

JS
set_postBack(Boolean value): void
Parameters:valueBoolean

Sets the postback value of a RadPanelItem.

Sets if the item should collapse.

JS
set_preventCollapse(Boolean value): void
Parameters:valueBoolean

False if the panel item should collapse otherwise true.

Selects or de-selects the item.

JS
set_selected(Boolean value): void
Parameters:valueBoolean

Selects of de

Sets the CSS class for the item when it is selected.

JS
set_selectedCssClass(String value): void
Parameters:valueString

The CSS class for the item when it is selected.

Sets the URL of the image displayed when item is selected.

JS
set_selectedImageUrl(String value): void
Parameters:valueString

URL of the image displayed when item is selected.

Sets selected item.

JS
set_selectedItem(Telerik.Web.UI.RadPanelItem value): void
Parameters:valueTelerik.Web.UI.RadPanelItem

Expanded item.

Sets the value of "target" attribute of the anchor DOM element of the item (A).

JS
set_target(String value): void
Parameters:valueString

The

Sets the text of the item.

JS
set_text(String text): void
Parameters:textString

Text of the item.

Sets the Value property of the item.

JS
set_value(String value): void
Parameters:valueString

Value of the item.

Shows/Hides a RadPanelItem

JS
set_visible(Boolean value): void
Parameters:valueBoolean

Shows

Makes the item visible.

JS
show(): void

Returns the RadPanelItem as a JSON serialized string.

JS
toJsonString(): String
Returns:

String

JSON serialized string.

De-selects the item.

JS
unSelect(): void
Not finding the help you need?
Contact Support