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

[Solved] SEO Paging

1 Answer 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 08 May 2008, 04:33 PM
I have a grid that I've enabled SEO paging and set the querystring.  However, when the page renders the paging links are javascript postbacks and the querystring is not part of the href.

I've enabled custom paging since not all records are available to the grid at binding.  I would think that I would get a querystring link.  What am I missing here?

Here's part of the markup:
<telerik:RadGrid ID="ProductListGrid" runat="server"
GridLines="None" Width="800px"
OnNeedDataSource="ProductListGrid_NeedDataSource"
AutoGenerateColumns="False"
onitemcommand="ProductListGrid_ItemCommand"
AllowPaging ="true" AllowCustomPaging="true" >
<MasterTableView DataKeyNames="Id" EnableNoRecordsTemplate="true">
<NoRecordsTemplate>
There are no available products in this category.
</NoRecordsTemplate>
<PagerStyle NextPageText="Next" PrevPageText="Prev" Mode="NextPrevAndNumeric" EnableSEOPaging="true" SEOPagingQueryStringKey="currentpage"></PagerStyle>
<Columns>
...

The link renders something like:
<span>1</span><a href="javascript:__doPostBack('ctl00$MainContent$CategoryInfo1$ctl00$ProductListGrid$ctl00$ctl03$ctl01$ctl04','')">2</a><span>



1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 10 May 2008, 03:58 PM
Hello Kevin,

We fixed this and the fix will be available in the first service pack (next week). In the meantime you can set <PagerStyle> settings under RadGrid tag instead.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Kevin
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or