Hi,
I want to extract the values of the columns on InsertCommand and i am not able to fatch then. I am doing as below
In above code, always i am getting null insertItem object. Why ? Can anyone tell me how to get the Inserted Values in grid columns on InsertCommand ?
I am using objectDataSource to Bind the grid. not binding on CodeBehind. I have SelectCommand in that objectDataSource.
Thanks,
--Jai
I want to extract the values of the columns on InsertCommand and i am not able to fatch then. I am doing as below
protected void RadGrid1_InsertCommand(object source, GridCommandEventArgs e)
{
GridDataInsertItem insertItem;
insertItem = (GridDataInsertItem)RadGrid1.MasterTableView.GetInsertItem();
}
In above code, always i am getting null insertItem object. Why ? Can anyone tell me how to get the Inserted Values in grid columns on InsertCommand ?
I am using objectDataSource to Bind the grid. not binding on CodeBehind. I have SelectCommand in that objectDataSource.
Thanks,
--Jai