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
AI Productivity Tools
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
grid_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
ImageButton cancel = (ImageButton)e.Item.FindControl(
"CancelButton"
);
cancel.Style[
"padding-left"
] =
"70px"
;
}
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
UniqueName
"EditCommandColumn"
EditImageUrl
"~/global/images/icons/edit.png"
UpdateText
"Save Changes"
UpdateImageUrl
"~/global/images/icons/save_bottompad.png"
CancelText
"Cancel Changes"
CancelImageUrl
"~/global/images/icons/cancel_toppad.png"
>
ItemStyle
HorizontalAlign
"Left"
VerticalAlign
"Middle"
CssClass
"HoverCursor"
></
HeaderStyle
width
"30px"
</