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

Make Footer disappeared in Filter mode

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 25 Jan 2011, 07:46 PM
Hi all,

Are there any ways to make the footer disappeared when user does filtering?
And when it is not in Filter mode, the footer will appear again

Thanks.

Andy.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Jan 2011, 06:00 AM
Hello Andy,

Please give a try with the following approach to hide footer when filtering data in grid.

C#:
protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
   {
       if (e.CommandName == RadGrid.FilterCommandName)
       {
           if (((System.Web.UI.Pair)(e.CommandArgument)).First.ToString() == "NoFilter")
           {
               RadGrid1.ShowFooter = true;
           }
           else
           {
               RadGrid1.ShowFooter = false;
           }
       }
   }

Thanks,
Princy.
Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or