Using DataPager Control with AJAX and SEO
- by Jonathan Wood
I've just taken my first stab at making a ListView, ObjectDataSource, and DataPager run in an AJAX panel.
I had trouble getting it to work until I removed the QueryStringField="page" attribute from the DataPager. This attribute causes the current page to be passed as a query argument in the URL. For obvious reasons, I guess that won't work when posting back using AJAX.
Now my question is if this hurts my SEO. When I used QueryStringField, the page links appeared as regular links with various query arguments. But now the links are just javascript. Haven't I hurt a search engine's ability to scan related pages?
Or is there another approach to this?