Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Paging
Message
From
26/05/2004 05:34:44
Bill Benton
North Florida Software Services
Middleburg, Florida, United States
 
 
To
25/05/2004 20:26:22
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00904894
Message ID:
00907225
Views:
9
>I am having similar problems with the paging in .NET. I have successfully done two grids, but the third is not cooperating. I have placed the code into the PageIndexChanged event as described throughout this thread, but it still does not work.
>
>1. Click on "2" (nothing happens)
>2. Click on "2" again (page refreshes, with old data)
>
>I am at a lose to understand what the differences are.

This is the code I am using, and it works fine.

private void MmDataGrid1_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
{
// set the current page
this.MmDataGrid1.CurrentPageIndex = e.NewPageIndex;
//rebind the grid
this.BindControl(this.MmDataGrid1);
Bill Benton
Senior Systems Analyst
Nuvell Financial Services
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform