This is a migrated thread and some comments may be shown as answers.

Hide Filter Row in Edit Mode

1 Answer 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peng Hooi
Top achievements
Rank 1
Peng Hooi asked on 28 Feb 2012, 09:31 AM
Hello,

how do i hide the RadGrid Filter row when the RadGrid is in editmode

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 28 Feb 2012, 09:44 AM
Hello,

Try the following code.
C#:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
 if (e.Item is GridEditableItem && e.Item.IsInEditMode)
 {
   RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)[0].Visible = false;
 }
}

-Shinu.
Tags
Grid
Asked by
Peng Hooi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or