AllowFilteringByColumn

2 posts, 0 answers
  1. Pete
    Pete avatar
    11 posts
    Member since:
    Feb 2011

    Posted 01 Feb 2014 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Feb 2014 in reply to Pete Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top