More in this section

Panel Bar

2 posts, 0 answered
  1. Smitha
    Smitha avatar
    22 posts
    29 Oct 2008
    29 Dec 2008
    Link to this post

    We are using Panel bar navigation control and using our own CSS styles this is making the > disapear. So when we click on the parent it directly expands and lands in the respective page instead of staying on the same page. Can you help us with this.

    As we are uproaching our deadline do you have any other way to anwer our question other than forum.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    30 Dec 2008
    Link to this post
    Hi Smitha,

    You can prevent the zero item from PostBack using the code below.

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="SitePanelbar.ascx.cs" Inherits="UserControls_SitemapPanelbar" %> 
    <%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %> 
    <script type="text/javascript"
    function OnClientItemClicking(sender, args) 
       var item = args.get_item(); 
       if (item.get_level()==0) 
    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false"/> 
    <telerik:RadPanelBar OnClientItemClicking="OnClientItemClicking" ID="RadPanelbar1" runat="server" DataSourceID="SiteMapDataSource1" OnItemDataBound="RadPanelbar1_ItemDataBound" EnableViewState="false"

    As for the support options take a look at Support Options.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered