SEO Paging does not work when SEOPagingQueryStringKey is set

3 posts, 1 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 30 Nov 2012 Link to this post

    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. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 30 Nov 2012 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Galin
    Admin
    Galin avatar
    526 posts

    Posted 04 Dec 2012 Link to this post

    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.
Back to Top