Telerik is a leading vendor of ASP.NET AJAX, ASP.NET MVC, Silverlight, WinForms and WPF controls and components, as well as .NET Reporting, .NET ORM , .NET CMS, Code Analysis, Mocking, Team Productivity and Automated Testing Tools. Building on its expertise in interface development and Microsoft technologies, Telerik helps customers build applications with unparalleled richness, responsiveness and interactivity. Telerik products help thousands of companies to be more productive and deliver reliable applications under budget and on time.
Version Q2 2011 released 07/12/2011
select

Splitter / Initial State

P
a
n
e
1
P
a
n
e
2
P
a
n
e
3
Main Pane


  • Initial pane state

    You can set the pane to be docked when the page is loaded using the DockedPaneId property of the RadSlidingZone control.

    If you need the pane to be only expanded, but not docked use the ExpandedPaneId property of the RadSlidingZone control.

Source Code

C# VB.NET
Show code in new window Demo isolation steps
  • <%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
    <%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
    <%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
    <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Page Language="vb" CodeFile="DefaultVB.aspx.vb" AutoEventWireup="false" Inherits="Telerik.Web.Examples.Splitter.SP_InitialState.DefaultVB" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head runat="server">
            <qsf:HeadTag id="Headtag1" runat="server"></qsf:HeadTag>
        </head>
        <body class="BODY">
            <form id="Form1" method="post" runat="server">
                <qsf:Header id="Header1" runat="server" NavigationLanguage="VB"></qsf:Header>
                <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
                <telerik:RadSplitter id="RadSplitter1" runat="server" height="400" width="700">
                    <telerik:RadPane id="LeftPane" runat="server" width="22" Scrolling="None">
                        <telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22"
                        DockedPaneId="Pane1"
                        ExpandedPaneId="Pane2"
                        >
                            <telerik:RadSlidingPane id="Pane1" title="Pane1" runat="server" width="300">This pane is set to be initially docked when the page is loaded. <br/><br/>Use the <b>DockedPaneId</b> property of the <b>RadSlidingZone</b> to control this behavior.
    </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane id="Pane2" title="Pane2" runat="server" width="150" >This pane is set to be initially expanded when the page is loaded. <br/><br/>Use the <b>ExpandedPaneId</b> property of the <b>RadSlidingZone</b> to control this behavior.</telerik:RadSlidingPane>
                            <telerik:RadSlidingPane id="Pane3" title="Pane3" runat="server" width="150">This pane has the default behavior and is hidden on page load.
    </telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                    </telerik:RadPane>
                    <telerik:RadSplitBar id="RadSplitbar1" runat="server"></telerik:RadSplitBar>
                    <telerik:RadPane id="MainPane" runat="server">Main Pane</telerik:RadPane>
                </telerik:RadSplitter><br/>
                <qsf:Footer runat="server" id="Footer1"></qsf:Footer></form>
        </body>
    </html>

Get more than expected!

 
 

Take your time to truly experience the power of RadControls for ASP.NET AJAX with a free 60-day trial backed up by Telerik’s unlimited dedicated support.

Download your RadControls for ASP.NET AJAX trial and jumpstart your development with the available Getting Started resources.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Copyright 2002-2024 © Telerik. All right reserved
Telerik Inc, 201 Jones Rd, Waltham, MA 02451