A typical problem with most data grid is that search engines crawlers will index only the first page of data ignoring the data grid pager. As a workaround, the developers usually torn off the paging when they detect a crawler in order to feed the whole data as a single page. This, however does not work in most cases since the search-engines are developed to index a limited amount of data per page.
To overcome those issues Telerik RadGrid has been specifically modified to provide SEO (Search-Engine Optimized) paging. When a web-crawler is detected, Telerik RadGrid will render the page number in the pager in such way so that crawlers will mandatorily follow through all grid pages. As a result the whole data will be indexed page by page.
Furthermore when a result is found by the search engine and you click on the provided link, you will be taken directly to the particular grid page. This intelligent mechanism is possible because when in SEO mode Telerik RadGrid passes the page parameter in the URL as shown below:
|
Copy Code |
|
http://www.telerik.com/Default.aspx?RadGrid1ChangePage=6&RadGrid2ChangePage=8 |
What is best, this mechanism works for multiple grids on the same page. For example the above URL will open RadGrid1 on page 6 and RadGrid2 on page 8. Online demo demonstrating the feature can be viewed here.
To enable SEO mode you should set the PagerStyle.EnableSEOPaging property to true.
In addition, you can specify the query string key for the grid which will be part of the page query string by setting the PagerStyle -> SEOPagingQueryStringKey property. This is useful when the grid resides in several containers and its id becomes too long and not very readable.