online help / client side call fail: panelItem.expand()

2 posts, 0 answers
  1. Mario
    Mario avatar
    75 posts
    Member since:
    Jun 2009

    Posted 08 Dec 2010 Link to this post


    just wanted to expand my panelbar client side and found the code in the online documentation. But it didn't work, but i i found another working way.

    - not working:

    function expandItem(text)
    var panelBar = $find("<%= RadPanelBar1.ClientID %>");
    var item
    = panelBar.findItemByText(text);
    if (item)
    alert("Item with text not found.");

    - working:

    function ExpandPanelBarItem()
                    var panelBar = $find("<%= RadPanelBar1.ClientID %>");

    (Care -> in this example this is enough because its just 1 panelbaritem in the panelbar which i want to be opened.)

    - Mario
  2. Yana
    Yana avatar
    4604 posts

    Posted 13 Dec 2010 Link to this post

    Hi Mario,

    I've tested the code from the help article and it works without a problem at our side. Can you send us a sample page demonstrating the problem?

    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top