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

AllowFilteringByColumn

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 01 Feb 2014, 03:46 PM
Hi,
I have put a button on the screen to turn filtering on and off.

I initially start with filtering off, and have a button to switch it on. When I do this, nothing happens. I switch it off, and then switch it on again, and it works fine. From then on turning it on and off is fine - it is just the initial turning it on that seems to be ignored.

Any ideas please?

Thanks

Pete

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Feb 2014, 03:49 AM
Hi Pete,

Please make sure you have Rebind the grid after making changes:

C#:
protected void FilterBtn_Click(object sender, EventArgs e)
{
 RadGrid1.AllowFilteringByColumn = true;
 RadGrid1.Rebind();
}

Thanks,
Shinu
Tags
Grid
Asked by
Pete
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or