I checked to see if its wired correctly:
private void InitializeCompo nent()
{
this.DataGrid1. PageIndexChange d += new
System.Web.UI.W ebControls.Data GridPageChanged EventHandler(th is.DataGrid1_Pa geIndexChanged) ;
this.DataGrid1. EditCommand += new
System.Web.UI.W ebControls.Data GridCommandEven tHandler(this.D ataGrid1_EditCo mmand);
this.Load += new System.EventHan dler(this.Page_ Load);
}
private void DataGrid1_EditC ommand(object source,
System.Web.UI.W ebControls.Data GridCommandEven tArgs e)
{
DataGrid1.EditI temIndex = e.Item.ItemInde x;
GetData();
}
private void DataGrid1_PageI ndexChanged(obj ect source,
System.Web.UI.W ebControls.Data GridPageChanged EventArgs e)
{
DataGrid1.Curre ntPageIndex = e.NewPageIndex;
GetData();
}
and it looks fine... paging works fine also, just the edit command isn't
getting fired???
Any one have any suggestions? Thanks in advance...
Long Le
Le******@msn.co m