Hi,
Perhaps I'm missing something but I can't seem to get my radsplitter to work with a updatepanel. In this example each time I click on the button that's in a upadatepanel (LeftPane) the ContentPane with reloads with the specified contenturl. Here is the code;
Server Side:
protected void UpdateButton_Click(object sender, EventArgs e)
{
DateTimeLabel1.Text = DateTime.Now.ToString();
DateTimeLabel2.Text = DateTime.Now.ToString();
}
Client Side:
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%" Orientation="Horizontal" LiveResize="false" VisibleDuringInit="true" Skin="Vista">
<telerik:RadPane ID="TopPane" runat="server" Height="145px" Scrolling="None" BorderWidth="0px">
<uc2:RibbonBar ID="ribbonBar" runat="server" />
</telerik:RadPane>
<telerik:RadPane ID="Radpane6" runat="server" BorderWidth="0px" Scrolling="None">
<telerik:RadSplitter ID="NestedSplitter" runat="server" Height="100%" Width="100%" LiveResize="true" Skin="Vista" VisibleDuringInit="true">
<telerik:RadPane ID="LeftPane" runat="server" CssClass="NavigationContentPanel" Width="220px" MinWidth="100" MaxWidth="400" Scrolling="Both" BorderWidth="0px">
<telerik:RadSplitter id="NestedLeftSplitter" runat="server" width="100%" height="100%" orientation="Horizontal" resizewithparentpane="false">
<telerik:RadPane id="LeftPanePanel" Height="23%" Scrolling="None" runat="server">
<uc1:LeftNavigation ID="LeftNavigation1" runat="server" />
</telerik:RadPane>
<telerik:RadSplitbar id="Radsplitbar4" runat="server" collapsemode="Forward" />
<telerik:radpane id="LeftPaneTree" Height="77%" runat="server">
<asp:UpdatePanel runat="server" id="UpdatePanel" updatemode="Conditional">
<Triggers>
<asp:AsyncPostBackTrigger controlid="UpdateButton2" eventname="Click" />
</Triggers>
<ContentTemplate>
<asp:Label runat="server" id="DateTimeLabel1" />
<asp:Button runat="server" id="UpdateButton1" onclick="UpdateButton_Click" text="Update" />
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional">
<ContentTemplate>
<asp:Label runat="server" id="DateTimeLabel2" />
<asp:Button runat="server" UseSubmitBehavior="False" id="UpdateButton2" onclick="UpdateButton_Click" text="Update" />
</ContentTemplate>
</asp:UpdatePanel>
</telerik:radpane>
</telerik:RadSplitter>
</telerik:RadPane>
<telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />
<telerik:RadPane ID="ContentPane" runat="server" ContentUrl="Home.aspx" CssClass="mainContentPanel" BorderWidth="0px" Scrolling="Both">
</telerik:RadPane>
<telerik:RadPane ID="EndPane" runat="server" Width="24px" BorderWidth="0px" Scrolling="None" Locked="true">
<uc3:SlidingPanel ID="SlidingPanel1" runat="server" />
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadPane>
<telerik:RadPane ID="FooterPane" runat="server" Height="21px" Scrolling="None" BorderWidth="0px" Locked="true">
</telerik:RadPane>
</telerik:RadSplitter>
Perhaps I'm missing something but I can't seem to get my radsplitter to work with a updatepanel. In this example each time I click on the button that's in a upadatepanel (LeftPane) the ContentPane with reloads with the specified contenturl. Here is the code;
Server Side:
protected void UpdateButton_Click(object sender, EventArgs e)
{
DateTimeLabel1.Text = DateTime.Now.ToString();
DateTimeLabel2.Text = DateTime.Now.ToString();
}
Client Side:
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%" Orientation="Horizontal" LiveResize="false" VisibleDuringInit="true" Skin="Vista">
<telerik:RadPane ID="TopPane" runat="server" Height="145px" Scrolling="None" BorderWidth="0px">
<uc2:RibbonBar ID="ribbonBar" runat="server" />
</telerik:RadPane>
<telerik:RadPane ID="Radpane6" runat="server" BorderWidth="0px" Scrolling="None">
<telerik:RadSplitter ID="NestedSplitter" runat="server" Height="100%" Width="100%" LiveResize="true" Skin="Vista" VisibleDuringInit="true">
<telerik:RadPane ID="LeftPane" runat="server" CssClass="NavigationContentPanel" Width="220px" MinWidth="100" MaxWidth="400" Scrolling="Both" BorderWidth="0px">
<telerik:RadSplitter id="NestedLeftSplitter" runat="server" width="100%" height="100%" orientation="Horizontal" resizewithparentpane="false">
<telerik:RadPane id="LeftPanePanel" Height="23%" Scrolling="None" runat="server">
<uc1:LeftNavigation ID="LeftNavigation1" runat="server" />
</telerik:RadPane>
<telerik:RadSplitbar id="Radsplitbar4" runat="server" collapsemode="Forward" />
<telerik:radpane id="LeftPaneTree" Height="77%" runat="server">
<asp:UpdatePanel runat="server" id="UpdatePanel" updatemode="Conditional">
<Triggers>
<asp:AsyncPostBackTrigger controlid="UpdateButton2" eventname="Click" />
</Triggers>
<ContentTemplate>
<asp:Label runat="server" id="DateTimeLabel1" />
<asp:Button runat="server" id="UpdateButton1" onclick="UpdateButton_Click" text="Update" />
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional">
<ContentTemplate>
<asp:Label runat="server" id="DateTimeLabel2" />
<asp:Button runat="server" UseSubmitBehavior="False" id="UpdateButton2" onclick="UpdateButton_Click" text="Update" />
</ContentTemplate>
</asp:UpdatePanel>
</telerik:radpane>
</telerik:RadSplitter>
</telerik:RadPane>
<telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />
<telerik:RadPane ID="ContentPane" runat="server" ContentUrl="Home.aspx" CssClass="mainContentPanel" BorderWidth="0px" Scrolling="Both">
</telerik:RadPane>
<telerik:RadPane ID="EndPane" runat="server" Width="24px" BorderWidth="0px" Scrolling="None" Locked="true">
<uc3:SlidingPanel ID="SlidingPanel1" runat="server" />
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadPane>
<telerik:RadPane ID="FooterPane" runat="server" Height="21px" Scrolling="None" BorderWidth="0px" Locked="true">
</telerik:RadPane>
</telerik:RadSplitter>