Click here to Skip to main content
13,453,456 members (42,769 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I have a GridView inside an update panel, with AllowPaging property set to 'true'. Gridview have 10 pages , I want to show pages automatically 1 by 1 up to 10 pages after that again and again
Posted 3-Feb-13 20:35pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

plz create pageindex changing event and create this code

protected void grd_employee_PageIndexChanging(object sender, GridViewPageEventArgs e)
        grd_employee.PageIndex = e.NewPageIndex;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04-2016 | 2.8.180318.3 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100