CommandName="DeleteRow" />
if (e.Item is GridDataItem)
{
objcommonclient = new CMSCommonClient();
SubFacilities ObjSubFacility = new SubFacilities();
ObjSubFacility = (SubFacilities)e.Item.DataItem;
/
if (hiddenUserAccess.Value == "C" && ObjSubFacility.Status == "Approved")
{
GridDataItem dataitem=(GridDataItem)e.Item;
(dataitem["Delete"].FindControl("link") as ImageButton).Enabled = true;
}
else
{
GridDataItem dataitem = (GridDataItem)e.Item;
(dataitem["Delete"].FindControl("link") as ImageButton).Enabled = false;
}
I want to show delete image button Only the record is approved...,this is the method i followed...,
i'm getting the error Cannot find a cell bound column name "Delete"...,
need a quick reply..., thanks...,
Sandeep Singh ShekhawatPosted Nov 1, 2012, 1:52 AM
Check solved telerik fourm thread on below link
http://www.telerik.com/community/forums/aspnet/grid/cannot-find-a-cell-bound-to-column-name-detailextensioncolumn.aspx
http://www.telerik.com/community/forums/aspnet-ajax/grid/cannot-find-a-cell-bound-to-column-name.aspx