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

How to modify URL SEO Paging of RadGrid

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Huy
Top achievements
Rank 1
Huy asked on 23 Oct 2014, 12:21 PM
I have a page with :

    2 textbox : ID is txt1 and txt21
     RadGrid : ID rgTest

using Simple Paging for "rgTest" and set EnableSEOPaging=True

Each times i change page of "rgTest" i get URL like :http://localhost:9526/Default.aspx?rgTestChangePage=5

My question is :

How to change the name of QueryString : "rgTestChangePage" -> MyPage

How to add params in QueryString like that:Default.aspx?rgTestChangePage=5&&param1=txt1&&param2=txt2

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Oct 2014, 08:33 AM
Hello Huy,

You can change the query string key using the SEOPagingQueryStringKey property.

<PagerStyle SEOPagingQueryStringKey="MyPage" ...

SEO Paging

Indeed, it is possible to add custom query string parameters in SEO paging scenario. Needless to say you have to be careful not to remove or modify the existing paging-related strings. Other than this, there should be no problem adding your own parameters.

Regards,
Daniel
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Huy
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or