I have a RadSlidingPane with its PersistScrollPosition set to true. However, when I scroll to a particular position and collapse the SlidingPane and later when I open it, it takes me to the top of the content in the SlidingPane. Am I missing something?
I'm using Q3 2009 SP2
Here is my .aspx code
And my codebehind
I'm using Q3 2009 SP2
Here is my .aspx code
| <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Telerik._Default" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head id="Head1" runat="server"> |
| <style type="text/css"> |
| html, body, form |
| { |
| height: 100%; |
| margin: 0px; |
| padding: 0px; |
| overflow: hidden; |
| font-size: 9px; |
| font-family: Verdana; |
| } |
| </style> |
| </head> |
| <body> |
| <form id="frmDefault" runat="server"> |
| <asp:ScriptManager ID="smgrMain" runat="server" /> |
| <div id="dvMain" style="height: 100%;"> |
| <telerik:RadSplitter |
| ID="splMain" |
| runat="server" |
| Orientation="Horizontal" |
| Height="100%" |
| Width="100%" |
| BorderSize="0" |
| VisibleDuringInit="false" |
| ResizeWithBrowserWindow="true" |
| Skin="Office2007"> |
| <telerik:RadPane |
| ID="paneTop" |
| runat="server" |
| Height="50" |
| Locked="true" |
| Scrolling="none"> |
| Header |
| </telerik:RadPane> |
| <telerik:RadPane |
| ID="paneLeftRight" |
| runat="server" |
| Scrolling="None" |
| MinWidth="500"> |
| <telerik:RadSplitter |
| ID="splLeftRight" |
| runat="server" |
| Skin="Office2007" |
| VisibleDuringInit="false" |
| ResizeWithBrowserWindow="true" |
| ResizeWithParentPane="true" |
| LiveResize="true"> |
| <telerik:RadPane |
| ID="paneLeft" |
| runat="server" |
| Width="20" |
| MinWidth="120" |
| MaxWidth="300" |
| Scrolling="None"> |
| <telerik:RadSlidingZone ID="slzLeft" runat="server" ClickToOpen="false"> |
| <telerik:RadSlidingPane |
| ID="slpFirst" |
| runat="server" |
| Title="First" |
| DockText="First" |
| UndockText="First" |
| PersistScrollPosition="true" |
| Width="250"> |
| <asp:Literal ID="litTest" runat="server" /> |
| </telerik:RadSlidingPane> |
| <telerik:RadSlidingPane ID="slpSecond" runat="server" Title="Second" Width="250px"/> |
| </telerik:RadSlidingZone> |
| </telerik:RadPane> |
| <telerik:RadSplitBar ID="spbLeftRight" runat="server" /> |
| <telerik:RadPane ID="paneRight" runat="server" ContentUrl="about:Blank" Scrolling="Both"/> |
| </telerik:RadSplitter> |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
| </div> |
| </form> |
| </body> |
| </html> |
And my codebehind
| protected void Page_Load(object sender, EventArgs e) |
| { |
| string strData = string.Empty; |
| for (int intCounter = 0; intCounter < 500; intCounter++) |
| { |
| strData += intCounter + "<br />"; |
| } |
| litTest.Text = strData; |
| } |