I use EditForm template in the RadGrid.
In the
I can use the following codes to refer a control in Insert Form:
How can I do the same thing for the Edit Form?
"GridEditableItem insertItem = e.Item.OwnerTableView.GetInsertItem(); " doesn't work for the Edit Form. I got the error message "Insert item is available only when grid is in insert mode."
Please help.
In the
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) |
{ |
} |
GridEditableItem insertItem = e.Item.OwnerTableView.GetInsertItem(); |
ListBox ListBoxA = (ListBox)insertItem.FindControl("ListBox1"); |
How can I do the same thing for the Edit Form?
"GridEditableItem insertItem = e.Item.OwnerTableView.GetInsertItem(); " doesn't work for the Edit Form. I got the error message "Insert item is available only when grid is in insert mode."
Please help.