Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question: Web Forms Datagrid Paging & Sorting
Message
From
18/10/2005 14:11:12
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01059543
Message ID:
01059994
Views:
10
Antonio,


Not sure about Mere Mortal's grid or even if this is what your having a problem with, but in a standard data grid you have to put a little code in the event handler for page index changed when a page-navigation link is clicked in order for it to work. Below is a vb example.

Hope it helps
 Private Sub grdReport_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles grdReport.PageIndexChanged

            grdReport.CurrentPageIndex = e.NewPageIndex
            grdReport.DataBind()

        End Sub 
Previous
Reply
Map
View

Click here to load this message in the networking platform