开发者

ASP.NET Gridview and SEO friendly paging

开发者 https://www.devze.com 2022-12-30 11:06 出处:网络
I\'ve started a topic (http://our.umbraco.org/forum/developers/xslt/7571-Xslt-paging-vs-UserControl-gridview) a while ago about the default ASP.NET Gridview vs XSLT paging. The conclusion was that XSL

I've started a topic (http://our.umbraco.org/forum/developers/xslt/7571-Xslt-paging-vs-UserControl-gridview) a while ago about the default ASP.NET Gridview vs XSLT paging. The conclusion was that XSLT paging should be used i开发者_如何学运维f you can because it's SEO friendly.

In some situations I need to use the ASP.NET Gridview, but I'd like to make the paging SEO friendly. Is there a good solution for this? I use the default paging options of the Gridview. I though about passing the page in a querystring and set this value to the pageindex of the Gridview. Will that work?

Thanks,

Jeroen


Try using datalist and do your custom paging by adding querystring for the page

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号