Hi,
I want to show/hide ExpandCollapseColumn based on some Boolean condition from C# Code behind.
here is my code..
it's hiding "ExpandCollapseColumn" But the problem is the next column moved to the left.
How can i do this?
I want to show/hide ExpandCollapseColumn based on some Boolean condition from C# Code behind.
here is my code..
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
if(! bShowExpandColumn)
(e.Item as GridDataItem)["ExpandColumn"].Visible = false;
}
}
it's hiding "ExpandCollapseColumn" But the problem is the next column moved to the left.
How can i do this?