+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Panelbar doesn't expand when there is NavigateUrl

Panelbar doesn't expand when there is NavigateUrl

2 posts, 0 answered
  1. smart
    smart avatar
    9 posts
    Registered:
    04 Apr 2007
    25 Apr 2007
    Link to this post
    I have a panelbar with 4 levels and implemented in the sitemap.  I want the first 3 levels always expand and the 4th level expand after clicking.  And all the 3rd level items have NavigateUrl.

    My problem is that I can only do one thing not both right now.  When there is NavigateUrl, I could not expand 4th level after click 3rd level.  After clicking, it always tried to jump to the Url without expanding.
    When I eliminate NavigateUrl, the 4th level could be expanded. 

    I actually read a lot of forum and implemented OnClientClicking and ItemClicked client and server events.  Since the expanding state is not passed through pages,  I could not get it work. 

    Another requirement is that if the requested content page is already on the client. Please donot post back.

    Please see the following hierachy structure on my panelbar.  I didn't include any of my java script and code behind cause they are not working. Please let me know what could be the solution. Thanks a lot.

    Nina

    <radp:RadPanelbar runat="server" ID="RadPanelbar1" CausesValidation="False" RadControlsDir="~/App_Themes/"

    Skin="Panelbar" SkinsPath="~/App_/Panelbar/Skins" Width="195px"

    OnClientItemClicked="Click">

    <Items>

    <radp:RadPanelItem Text="Level 1-1" Expanded="True" runat="server">

    <Items>

    <radp:RadPanelItem Text="Level 2-1" runat="server" Expanded="True">

    <Items>

    <radp:RadPanelItem Text="Level 3-1" runat="server" NavigateUrl="~/Products/11.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Options" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 3-2" runat="server" NavigateUrl="~/Products/111.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Options" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 3-3" runat="server" NavigateUrl="~/Products/6.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Options" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 2-2" runat="server" Expanded="True" NavigateUrl="~/Products/7.aspx">

    <Items>

    <radp:RadPanelItem Text="Level 3-4" runat="server">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 3-5" runat="server" NavigateUrl="~/Products/8.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 1-2" runat="server" Expanded="True">

    <Items>

    <radp:RadPanelItem Expanded="True" runat="server">

    <Items>

    <radp:RadPanelItem Text="Level 3-6" runat="server" NavigateUrl="~/Products/8.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 3-7" runat="server" NavigateUrl="~/Products/9.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Level 3-8" runat="server" NavigateUrl="~/Products/10.aspx">

    <Items>

    <radp:RadPanelItem Text="Features" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Specs" runat="server">

    </radp:RadPanelItem>

    <radp:RadPanelItem Text="Colors" runat="server">

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelItem>

    </Items>

    </radp:RadPanelbar>

  2. Paul
    Paul avatar
    2 posts
    Registered:
    24 Sep 2012
    26 Apr 2007
    Link to this post
    Hello Nina,

    Please note that all forum posts and support tickets are reviewed by the Telerik support staff and you will get the needed attention within the guaranteed response time (if the question(s) is related to any Telerik control). Posting the same question in several places slows us down in our responses as we need to review all of them and write back, losing valuable minutes. This in turn results in slower response times and poorer service.

    You have already replied in the other forum post. This one will be closed.

    We appreciate your understanding in this matter and look forward to providing you with the best support!

    Greetings,
    Paul
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered