J
Jeff Petter
I'm having a problem getting the in-place editing feature to work with a datagrid. Unless I missed something, I think I followed the procedure, but when I click on the edit button, nothing happens. The code I'm using is:
private void DataGrid1_EditCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
DataGrid1.EditItemIndex = e.Item.ItemIndex;
BindDataGrid();
}
Is there something else that has to be set to make this work? If I manually change the EditItemIndex in the grid's properties, and run it, the specified row is editable, but I can't get the edit button columns to work. Does anyone have any ideas? I'd really appreciate any thoughts.
Thanks,
Jeff
private void DataGrid1_EditCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
DataGrid1.EditItemIndex = e.Item.ItemIndex;
BindDataGrid();
}
Is there something else that has to be set to make this work? If I manually change the EditItemIndex in the grid's properties, and run it, the specified row is editable, but I can't get the edit button columns to work. Does anyone have any ideas? I'd really appreciate any thoughts.
Thanks,
Jeff