在ASP.NET gridview中使用Bootstrap tablesorter

Rai*_*lol 6 jquery pagination gridview tablesorter twitter-bootstrap

我在gridviews中使用以下tablesorter小部件:http: //mottie.github.io/tablesorter/docs/example-widget-bootstrap-theme.html

我遇到了Gridview的分页问题.我无法对结果进行分页,如果每次更改页面时都重新填充gridview,搜索文本框将无效.

我在gridview中启用了thead.并且,gridview正在Page_Load事件中加载它的数据.

解决这个问题的最佳方法是什么?

Win*_*spo 3

您可能没有将类添加到 HTML 代码中,就像添加到问题的链接示例中一样。

请务必正确添加课程。