New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Locked Panes

Locked Middle Pane

Left Pane
Middle Pane (Locked)
End Pane

Use the Locked property of a RadPane to lock the pane.

When a pane is locked its size remains unchanged during any of the operations including:

  • Resize of the splitter
  • Resize of the panes regardles of the ResizeMode
  • Collapse / Expand of the panes

The size of a locked pane can be changed only from the client-side API when using the SetWidth or SetHeight methods of RadPane.

  • DefaultVB.aspx
<%@ Page Language="vb" AutoEventWireup="false"  %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-wide">
        <h2>Locked Middle Pane</h2>
        <telerik:RadSplitter RenderMode="Lightweight" ID="RadSplitter1" runat="server" Height="200" oncliendloaded="SplitterLoaded"
            Width="795">
            <telerik:RadPane ID="RadPane1" runat="server" Width="300">
                Left Pane
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitbar1" runat="server" CollapseMode="Forward">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="Radpane2" runat="server" Width="150" Locked="true">
                Middle Pane (<b>Locked</b>)
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar2" runat="server" CollapseMode="Backward">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="RadPane3" runat="server">
                End Pane
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance