This is a migrated thread and some comments may be shown as answers.

RadSplitter and RadSplitBar are not work in masterpage

2 Answers 39 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Hai
Top achievements
Rank 1
Hai asked on 08 May 2012, 04:41 AM
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 Answers, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 09 May 2012, 09:55 AM
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.
0
Hai
Top achievements
Rank 1
answered on 23 May 2012, 03:57 AM
Thanks, Niko

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

Thanks
Tags
Slider
Asked by
Hai
Top achievements
Rank 1
Answers by
Niko
Telerik team
Hai
Top achievements
Rank 1
Share this question
or