radslidingpane postback & scroll

2 posts, 0 answers
  1. Dave Myers
    Dave Myers avatar
    47 posts
    Member since:
    Sep 2008

    Posted 24 Sep 2008 Link to this post

    I am trying to use the splitter controls and most everything is working correctly with a few exceptions. 

    For one, I have some odd behavior regarding postbacks when a slidingpane is used.  My sliding pane contains a repeater with linkbuttons in it.  When the sliding pane is docked, clicking a linkbutton causes a partial page postback.  However, if the sliding pane is visible (but not docked), clicking the linkbutton causes a full postback.

    My second issue is that I cannot get the sliding pane to persist scroll position.  I have scrolling set to "both" and it always scrolls back to the top in either a full or partial postback.

    <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="450" Width="100%"
                                                        <telerik:RadPane ID="RadPane1" Width="22" runat="server"
                                                            <telerik:RadSlidingZone id="SlidingZone1" runat="server"
                                                                <telerik:RadSlidingPane id="Pane1" title="Projects" runat="server" width="200" Scrolling="both" PersistScrollPosition="true" EnableResize="True" EnableDock="true"
                                                                    <asp:Repeater ID="ProjectBudgetRpt" runat="server"
                                                                            <table width="100%" cellspacing="0"
                                                                                <tr class="DisplayGridHead"
                                                                                    <td class="DisplayGridItem" nowrap> 
                                                                                            <asp:LinkButton ID="BudgetProjectSelectBtn" OnCommand="BudgetProjectSelectBtn_OnCommand" Text='<%# DataBinder.Eval(Container,"DataItem.NameLong")%>' CommandArgument='<%# DataBinder.Eval(Container,"DataItem.ID")%>' CausesValidation="true" runat="server"></asp:LinkButton> 
                                                        <telerik:RadSplitBar ID="RadSplitBar1" runat="server" /> 
    <telerik:RadPane ID="RadPane2" Scrolling="X" Width="99%" PersistScrollPosition="true" runat="server"
    Other Stuff 

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 29 Sep 2008 Link to this post

    Hi Dave Myers,
    Thank you for the provided code fragment. We are aware of these issues and we will do our best to fix them for SP2 that will be available for download later this week.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top