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
<
telerik:GridButtonColumn
CommandName
=
"Edit"
ButtonType
"LinkButton"
UniqueName
"editBtn"
Text
>
</
"Delete"
"deleteBtn"
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem item = e.Item
as
GridDataItem;
(item.ItemIndex < 4)
LinkButton editBtn = (LinkButton)item[
].Controls[0];
editBtn.Visible =
false
;
LinkButton deleteBtn = (LinkButton)item[
deleteBtn.Visible =
}