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

SEO Paging does not work when SEOPagingQueryStringKey is set

2 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 30 Nov 2012, 01:07 PM
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)
<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

2 Answers, 1 is accepted

Sort by
0
Erik
Top achievements
Rank 2
answered on 30 Nov 2012, 06:26 PM
I also found that with EnableSEOPaging="true" (and w/o the SEOPagingQueryStringKey set) the paging buttons have no picture. Also changing the page size does nothing...

See picture for a result on a MetroTouch skin: telerik_grid_problem.png

Erik
0
Accepted
Galin
Telerik team
answered on 04 Dec 2012, 07:55 PM
Hello,

This issue is happening in MetroTouch Skin and is already fixed in the latest internal build. You can download it from here. Also, you can wait for the stable Service Pack version, which will be released this week.

Additionally, I am sending the necessary images and you can find them in the attached archive.

Please excuse us for the missing and inconvenience this might cause you.

Regards,
Galin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Erik
Top achievements
Rank 2
Answers by
Erik
Top achievements
Rank 2
Galin
Telerik team
Share this question
or