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
You can achieve this by iterating either in RadGrid.ItemDataBound or in RadGrid.PreRender. And hide the required column by RadGrid.MasterTableView.RenderColumns collection or by using the MasterTableView.GetColumn() method. C#:
flag=0;
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
GridDataItem DataItem= e.Item;
(DataItem[
"FirstName"
] !=
""
)
flag == 1;
}
RadGrid1_PreRender(
sender, EventArgs e)
(flag == 0)
RadGrid1.MasterTableView.GetColumn(
).Display =
false
;
Thanks, Shinu