<%@ Page Language="C#" AutoEventWireup="true" CodeFile="swapPanelBar.aspx.cs" Inherits="swapPanelBar" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div>
       <asp:Panel ID="PanelBarHolder" runat="server">
        <telerik:RadPanelBar ID="rpbLHNav" runat="server">
            <Items>
               <telerik:RadPanelItem Text="root">
                <Items>
                      <telerik:RadPanelItem Text="item 1">
                    <Items>
                        <telerik:RadPanelItem Text="item 1 1" />
                        <telerik:RadPanelItem Text="item 1 2" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="item 2" Value="newRootID">
                    <Items>
                        <telerik:RadPanelItem Text="item 2 1" />
                        <telerik:RadPanelItem Text="item 2 2" />
                    </Items>
                </telerik:RadPanelItem>
                </Items>
               </telerik:RadPanelItem> 
            </Items>
        </telerik:RadPanelBar>
        </asp:Panel>
        <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
    </div>
    </form>
</body>
</html>
