Hello,
I declared a Datagrid in my codebehind (in vb.net, the grid is named "CoreDataGr id") and now I want to manage the OnPageIndexChan ged-Event in this codebehind and not in the .aspx file.
I already have the associated sub:
Sub CoreDataGrid_Pa ging(ByVal sender As Object, ByVal e As DataGridPageCha ngedEventArgs)
CoreDataGrid.Cu rrentPageIndex = e.NewPageIndex
CoreDataGrid_Da taBind()
End Sub
I read some articles about raising events aso but I didn't understood them fully. Maybe someone could explain it to me? thanks a lot
--------------------------------
From: Alexander Herrmann
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>zZerb/52qkeQjq1oBflSq Q==</Id>
I declared a Datagrid in my codebehind (in vb.net, the grid is named "CoreDataGr id") and now I want to manage the OnPageIndexChan ged-Event in this codebehind and not in the .aspx file.
I already have the associated sub:
Sub CoreDataGrid_Pa ging(ByVal sender As Object, ByVal e As DataGridPageCha ngedEventArgs)
CoreDataGrid.Cu rrentPageIndex = e.NewPageIndex
CoreDataGrid_Da taBind()
End Sub
I read some articles about raising events aso but I didn't understood them fully. Maybe someone could explain it to me? thanks a lot
--------------------------------
From: Alexander Herrmann
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>zZerb/52qkeQjq1oBflSq Q==</Id>
Comment