Hello
Recently I have been involved in a thread where we discussed this, you
have some options:
- Implement custom paging (there you can swap to links):
http://www.codeproject.com/useritems/CustomPaging.asp
- Leave the URL issue and generate a sitemap for google (a txt with the
list of all URL's could be a good start), check out google sitemaps.
- There is some trick when you build up the page, check if it's google bot
and change the page size to 1000:
if (Request.ServerVariables["HTTP_USER_AGENT"] == "Googlebot") {
GridView1.PageSize = 1000;
} else {
GridView1.PageSize = 10;
}
Good luck
Braulio
/// ------------------------------
/// Braulio Diez
///
///
http://www.tipsdotnet.com
/// ------------------------------
"John Mott" wrote:
Hi All,
I recently read a post that said that google and other spiders are unable to
navigate paging in the GridView control because it uses postbacks and it
can't determine the url.
I've verified that it doesn't see portions of my site that are on page 2 and
beyond according to whats generated. This is not a good thing if your want
people to find your stuff.
The gridview as it is is so sweet I don't want to give it up. Before
devolving into custom paging is there an option that would have the page
numbers generate urls that a spider could follow instead of calls into the
postback?
Thanks,
John