Hi i am facing an issue on grid panel for retaining applied filter in header items.
I have menu item on the page on click o these menu grid data changes and displayed. I apply filter on one column and records are filtered and now i click on menu item and gird is refreshed but the data is not filtered it display all records respective to the menu. But i want data should be displayed according to the filtered applied previously.
StringFilter Customer = (StringFilter)GridFilters.Filters[7]
this is code which i have using on code behind to retain the filter.
 TextField CustomerFilter = (TextField)GridView1.FindControl("CustomerFilter");
    if (CustomerFilter != null)
    {
        if (CustomerFilter.Text != null && CustomerFilter.Text != "")
        {
            Customer.SetValue(CustomerFilter.Text);
            Customer.SetActive(true);
            filter.Customer = CustomerFilter.Text;
        }
        else
        {
            Customer.SetActive(false);
        }
    }
Please provide suggestion for the same.