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

RadDataPager page links change re-written urls to original

3 Answers 56 Views
ListView
This is a migrated thread and some comments may be shown as answers.
reza meshksar
Top achievements
Rank 1
reza meshksar asked on 23 Oct 2010, 09:42 PM
Hi,
In my page I used to have RadGrid with pagination and SEO enabled.
Everything was working fine, but I needed to have Div layout, I changed it to RadListView and RadDataPager.
Now the only problem that I have is that the pages' links changes the re-written urls to the original one.
For example:
Re-written Url: http://www.mysite.com/car/123
Original Url: http://www.mysite.com/cars.aspx?carId=123

I expect for page 2 the link would be:
http://www.mysite.com/cars/123?pageno=2

But the link is changed back to the original and is like this:
http://www.mysite.com/cars.aspx?carId=123&pageno=2

I did not have such a problem with RagGrid Pagination.
By the way, I am using Telerik controls of DotNetNuke. The version is 2010.1.309.35.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 27 Oct 2010, 02:32 PM
Hello reza,

We are not aware of such issues with the RadDataPager SEO paging. Thereofre I suggest that you try preparing a sample project illustrating your Url rewritting with one page with RadGrid and another with RadListView and RadDataPager and send it to us in a formal support ticket or bug report for further investigation.

Best wishes,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
reza meshksar
Top achievements
Rank 1
answered on 01 Nov 2010, 03:57 AM
Thanks for reply.
I found a thread, which another user had the same problem.
http://www.telerik.com/community/forums/aspnet-ajax/listview/problem-with-keyword-rich-paging-using-urlrewriter.aspx

In that thread, the solution is to modify pager links in code behind on FieldCreated event.

Is this the only solution?

Thanks,
Reza.
0
Iana Tsolova
Telerik team
answered on 01 Nov 2010, 04:06 PM
Hi reza,

I am not able to say if that is the only solution. I assume that if we have a sample project illustrating your case and the Url re-writer you are using, we might find a general resolution into the RadDataPager code.

Regards,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ListView
Asked by
reza meshksar
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
reza meshksar
Top achievements
Rank 1
Share this question
or