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

    Hi

    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>
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <p></p>
     
         <script type="text/javascript" language="javascript">
     
        </script>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
            <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:RadPane>
                <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward"/>
                <telerik:RadPane ID="RightPane" runat="server" Scrolling="None" OnclientResized="afterResize">
                    right panel
                </telerik:RadPane>
            </telerik:RadSplitter>
        </asp:Content>

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

    Can you help me to solve it.

    Thanks.
  2. Niko
    Admin
    Niko avatar
    387 posts

    Posted 09 May 2012 Link to this post

    Hi,

    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,
    Niko
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. 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 

    Thanks
Back to Top