Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Paging

$
0
0

Hi, paging is not working for the SPGridView. i made pageSize=10, intially it is displaying 10,and when i click on next button, it is displaying only one item. Please let me know if you come across these issue

Made Allowpaging=true, OnPageIndexChanging="gridview_PageIndexChanging

In the code behind, 

  protected void ReqsGrid_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
          gridview.PageIndex = e.NewPageIndex;
           gridview.DataBind();
        }

Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>