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 / Enable Resizing/Docking

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

  • Enable/disable Resizing and Docking behaviors

    You can enable/disable the docking and resizing of the sliding panes using the EnableResize and EnableDock properties.

Source Code

C# VB.NET
Show code in new window Demo isolation steps
  • <%@ Page Language="vb" CodeFile="DefaultVB.aspx.vb" AutoEventWireup="false" Inherits="Telerik.Web.Examples.Splitter.SP_EnableResizeDock.DefaultVB" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
    <%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
    <%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
    <%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
    <!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: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">
                            <telerik:RadSlidingPane id="Pane1" title="Pane1" runat="server" width="150" EnableResize="false">This pane has the <b>EnableResize</b> property set to false.<br/>The default value of the property is <b>true</b>.<br/><br/>You can dock the pane to see that even when docked the pane is still not resizable.
    </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane id="Pane2" title="Pane2" runat="server" width="150" EnableDock = "false">This pane has the <b>EnableDock</b> property set to false.<br />The default value of the property is <b>true</b>.<br/><br/>You can only resize and close this pane.
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane id="Pane3" title="Pane3" runat="server" width="150" EnableDock = "false" EnableResize="false">This pane has both the <b>EnableDock</b> and <b>EnableResize</b> properties set to false.<br/>The default value of both properties is <b>true</b>.<br/><br/>You can only close the pane.
    </telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                    </telerik:RadPane>
                    <telerik:RadSplitBar id="RadSplitbar1" runat="server"></telerik:RadSplitBar>
                    <telerik:RadPane id="MiddlePane" runat="server">Main Pane</telerik:RadPane>
                </telerik:RadSplitter>
                <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