Hi ,
I want hide the rows server side depending on some conditions
for that I am using following code
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem) {
if (//Condition)
e.Item.Attributes["style"] = "display:none";
}
}
However it works perfectly,but I dont want to this, because it renders the row.
I tried
e.Item.Visible=false;
but it wont work, can you please provide me alternate solution.
Thanks
I want hide the rows server side depending on some conditions
for that I am using following code
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem) {
if (//Condition)
e.Item.Attributes["style"] = "display:none";
}
}
However it works perfectly,but I dont want to this, because it renders the row.
I tried
e.Item.Visible=false;
but it wont work, can you please provide me alternate solution.
Thanks