RadSplitter and RadSplitBar are not work in masterpage

3 posts, 0 answers
  1. Hai
    Hai avatar
    2 posts
    Member since:
    May 2012

    Posted 07 May 2012 Link to this post


    I use RadSplitter, RadPane and RadSplitBar in masterpage in asp.net but I can't resize or collapse RadPane.

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
         <script type="text/javascript" language="javascript">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Skin="Vista" Width="100%" Height="550px">
                <telerik:RadPane ID="LeftPane" runat="server" Width="350" MinWidth="200">
                    left panel
                <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward"/>
                <telerik:RadPane ID="RightPane" runat="server" Scrolling="None" OnclientResized="afterResize">
                    right panel

    If I use them in project without masterpage then it work fine.

    Can you help me to solve it.

  2. Niko
    Niko avatar
    404 posts

    Posted 09 May 2012 Link to this post


    Such a scenario is perfectly normal to occur and we haven't had any issues using master pages and splitters. Do you get any JS error on the page? If you do, could you, please, let me know what it is?

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Hai
    Hai avatar
    2 posts
    Member since:
    May 2012

    Posted 22 May 2012 Link to this post

    Thanks, Niko

    it's my fault. I am not declare function afterResize 

Back to Top