All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
protected
void
rdgrd_ItemDataBound(
object
sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem itm = (GridDataItem)e.Item;
TableCell cell = itm[
"ProductName"
];
(cell.Text==
"1"
)
LinkButton lnk=(LinkButton)itm[
"AutoGeneratedEditColumn"
].Controls[0];
//if you are using for auto generated edit column
lnk.Visible=
false
;
LinkButton lnk1 = (LinkButton)itm[
"Edit"
// if you are using GridEditCommandColumn
lnk1.Visible =
}