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
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 =
}