Hello telerik support,
In my case, The grid allow users to check the GridClientSelectColumn (CheckBox) for multiple deletion
after users selected all columns that they want to delete, they can press delete button to delete the selected records.
In core behind im going to save the GridDataItem in the List<GridDataItem> and using foreach loop to run FireCommandEvent
foreach (GridDataItem item in deleteList)
{
item.FireCommandEvent("Delete", string.Empty);
}
However, the loop can only delete one record on the list.
After that, i try to use FireCommandEvent in immediate window and it return "expression has been evaluated and has no value"
May i ask if there is any solution so solve this problem?
Thanks,
KK
In my case, The grid allow users to check the GridClientSelectColumn (CheckBox) for multiple deletion
after users selected all columns that they want to delete, they can press delete button to delete the selected records.
In core behind im going to save the GridDataItem in the List<GridDataItem> and using foreach loop to run FireCommandEvent
foreach (GridDataItem item in deleteList)
{
item.FireCommandEvent("Delete", string.Empty);
}
However, the loop can only delete one record on the list.
After that, i try to use FireCommandEvent in immediate window and it return "expression has been evaluated and has no value"
May i ask if there is any solution so solve this problem?
Thanks,
KK