Hello,
I have a Grid that has XXXX set. When I use it w/o the SEOPagingQueryStringKey it works fine, but when I set the SEOPagingQueryStringKey="PageId" it does not work any more. (stays on page 1)
(I saw a simulair post from 2008: http://www.telerik.com/community/forums/aspnet-ajax/grid/seo-paging.aspx#533423)
Here is the code: (Version 2012.3.1016.40)
Regards,
Erik
I have a Grid that has XXXX set. When I use it w/o the SEOPagingQueryStringKey it works fine, but when I set the SEOPagingQueryStringKey="PageId" it does not work any more. (stays on page 1)
(I saw a simulair post from 2008: http://www.telerik.com/community/forums/aspnet-ajax/grid/seo-paging.aspx#533423)
Here is the code: (Version 2012.3.1016.40)
<telerik:RadGrid ID="RadGrid1" Width="100%" Height="400px" Skin="Office2010Black" runat="server"> <mastertableview autogeneratecolumns="false" allowsorting="true" allowpaging="true" pagesize="5" datakeynames="Id" clientdatakeynames="Id"> <Columns> <telerik:GridButtonColumn UniqueName="RowSelector1" CommandName="Select" CommandArgument="" ButtonType="ImageButton" Text="Open demand" ImageUrl="~/styles/images/icon/playblue_16x16.png" HeaderStyle-Width="25px" Resizable="false" /> <telerik:GridBoundColumn DataField="Id" HeaderText="Id" AllowSorting="true"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Description" HeaderText="Description" AllowSorting="true"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Street" HeaderText="Street" AllowSorting="true"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ZipCode" HeaderText="ZipCode" AllowSorting="true"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="City" HeaderText="City" AllowSorting="true"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Picture" HeaderText="Picture" AllowSorting="true"> </telerik:GridBoundColumn> </Columns> <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" SEOPagingQueryStringKey="PageId" EnableSEOPaging="true" /> </mastertableview> <clientsettings allowcolumnhide="true" allowcolumnsreorder="false" allowdragtogroup="false" allowexpandcollapse="true" allowgroupexpandcollapse="true" enablepostbackonrowclick="false" enablerowhoverstyle="true" reordercolumnsonclient="true"> <ClientEvents OnRowDblClick="prvOnRadGrid1_RowDblClick" /> <Resizing AllowColumnResize="true" ShowRowIndicatorColumn="true" /> <Selecting AllowRowSelect="true" /> <Scrolling ScrollHeight="100%" AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="0" /> </clientsettings></telerik:RadGrid>Regards,
Erik
