Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question: Web Forms Datagrid Paging & Sorting
Message
De
18/10/2005 14:11:12
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01059543
Message ID:
01059994
Vues:
11
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 
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform