Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item.IsInEditMode)
(e.Item
is
GridDataInsertItem)
GridEditableItem editItem = (GridEditableItem)e.Item;
LinkButton InsertButton = (LinkButton)editItem.FindControl(
"PerformInsertButton"
);
// Access Insert button here
LinkButton CancelButton = (LinkButton)editItem.FindControl(
"CancelButton"
// Access Cancel Button here
}
else
LinkButton updateButton = (LinkButton)editItem.FindControl(
"UpdateButton"
// Access Update button here
LinkButton CancelUpdateButton = (LinkButton)editItem.FindControl(
// Access Cancel button here