I have a telerik radgrid with a single editable column that I've thrown into edit mode using the code below. I'm using a radtoolbar and I'd like to allow the user to save the grid data (AllowMultiRowEdit="true") without requiring a per-row or even grid-specific update button. All of the examples seem to be pulling necessary objects from the eventArgs. Is there a grid example that allows me to process the grid changes from a separate toolbar button?
protected void LUOGrid_PreRender(object sender, EventArgs e)
{
if (!IsPostBack)
{
foreach (GridItem item in LUOGrid.MasterTableView.Items)
{
if (item is GridEditableItem)
{
GridEditableItem editableItem = item as GridDataItem;
editableItem.Edit = true;
}
}
LUOGrid.Rebind();
}
}