i am working with ingragestic Grid " UltraWebGrid "
I have placed asp.button in grid for delete ( UltraWebGrid )
kindly tell me how to delete selected record
i mean to say as
we can do same thing using " asp.net grid view " by using " RowDeleting " event
How can we mange like this by using " UltraWebGrid "
how can we get key field like in " asp.grid view " we use " DataKeyNames " at bind time .Later we get it by using " gv.DataKeys[e.RowIndex].Value "
how we do this in UltraWebGrid of Infragestic
Is there any sample or article e.t.c
Loading
mohammad qasimPosted Mar 29, 2012, 6:26 AM
2) place datakey name in Properties ( F4 short key)
3)place key name in colum of Editbutton (
4)3)place key name in colum of DeleteButton(
thats it
gvInfra_ItemCommand
{
CellItem del = (CellItem)e.ParentControl;
int customreId = Convert.ToInt32(del.Cell.Row.DataKey);
if (del.Cell.Key == "delete")
{
}
else {
}
}
happy programming