- 2 minutes to read
A known issue with grid controls is that search engines simply ignore pagers. When indexing a site, they only use the information contained on the first page. The reason for this is that pager links are usually not represented as hyperlinks to other pages. Instead, they simply respond to click events to raise data update callbacks.
You can use the ASPxGridPagerSettings.SEOFriendly property to enable Search-Engine Optimization (SEO) for the ASPxCardView pager.
If this property is set to SEOFriendlyMode.CrawlerOnly, ASPxCardView renders hyperlinks in the pager when a web crawler is detected. For other visitors, standard pager links are generated. Thus, search engines can index a grid's entire content, and site visitors experience the same callback functionality.
If the ASPxGridPagerSettings.SEOFriendly property is set to SEOFriendlyMode.Enabled, each pager button link refers to a unique address. In this case, clicking a pager link does not post back to the same page, but generates a completely new request. As a result, a new page is created on the server, and information about the previous page state is lost. In this mode, only information about sorting applied to the ASPxCardView control is preserved using specific request parameters. Other grid states (applied filter criteria, column order, card selection, etc.) are not preserved. Thus, to maintain a consistent grid appearance and content relevant to all pages, we recommend that you enable SEO mode only for grids that use minimal features, such as sorting.