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

Dynamic Object Creation

Dynamically Created Splitter

Content of Left Pane
Nested Splitter Top Text
Nested Splitter Bottom Text

RadSplitter provides a flexible server-side API that allows you to create splitter objects directly from the code behind.

See the "Server-side API" example for more info on the methods you can use.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Splitter.DynamicObjectCreation.DefaultCS" %>

<!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>
            Dynamically Created Splitter
        </h2>
        <asp:Panel runat="server" ID="SplitterHolder">
            <%-- here will be added dynamically the splitter --%>
        </asp:Panel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance