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

radslidingpane postback & scroll

1 Answer 116 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Dave Myers
Top achievements
Rank 1
Dave Myers asked on 25 Sep 2008, 02:58 AM
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"
                                                                    <HeaderTemplate> 
                                                                        <table width="100%" cellspacing="0"
                                                                            <tr class="DisplayGridHead"
                                                                                <td>&nbsp;</td> 
                                                                            </tr> 
                                                                    </HeaderTemplate> 
                                                                    <ItemTemplate> 
                                                                            <tr> 
                                                                                <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> 
                                                                                </td> 
                                                                            </tr> 
                                                                    </ItemTemplate> 
                                                                    <FooterTemplate> 
                                                                        </table> 
                                                                    </FooterTemplate> 
                                                                </asp:Repeater> 
                                                            </telerik:RadSlidingPane> 
                                                        </telerik:RadSlidingZone> 
                                                    </telerik:RadPane> 
                                                    <telerik:RadSplitBar ID="RadSplitBar1" runat="server" /> 
<telerik:RadPane ID="RadPane2" Scrolling="X" Width="99%" PersistScrollPosition="true" runat="server"
Other Stuff 
</telerik:RadPane> 
                                                </telerik:RadSplitter> 

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 29 Sep 2008, 06:29 PM
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,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Splitter
Asked by
Dave Myers
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or