Hi,
I have a grid pagination and I am displaying 25 items per page. If the user scrolls down and moves to the next/previous page, how can I reposition the scrollbar so the first item in the table gets visible? Should the grid do this automatically?| <div style="width:100%;height:100%"> |
| <telerik:RadGrid |
| ID="RadGrid" |
| runat="server" |
| AllowPaging="true" |
| PageSize="25" |
| Width="100%" |
| Height="100%" |
| style="border:0px;outline:none" |
| > |
| <MasterTableView TableLayout="Auto" ClientDataKeyNames="Id, Icon, IsPrivate"> |
| <Columns> |
| <telerik:GridBoundColumn DataField="Icon" HeaderText="" HtmlEncode="false" HeaderStyle-Width="26px"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Name" HeaderText="Food" HtmlEncode="false" HeaderStyle-Width="100%"></telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings EnableRowHoverStyle="true"> |
| <Selecting AllowRowSelect="true" /> |
| <Scrolling AllowScroll="true" UseStaticHeaders="true" /> |
| <DataBinding Location="Grid.aspx" SelectMethod="Search" FilterParameterType="String" SortParameterType="String"></DataBinding> |
| <ClientEvents OnDataBinding="RadGrid_DataBinding" OnRowClick="RadGrid_RowClick" OnRowDblClick="RadGrid_RowDblClick" OnDataBound="RadGrid_DataBound" /> |
| </ClientSettings> |
| <PagerStyle Mode="Slider" /> |
| </telerik:RadGrid> |
| </div> |
Thanks.
