I have a textbox a button and a spgridview. When the button is clicked I will search SharePoint with the value in the textbox and bind it to the spgridview. (I'm using LingDataSource). After I filter the spgridview and then click the button again, the new results is still filtered by the previous filter. I tried this
spgvSearchResults.FilterFieldName = string.Empty;
but this will not work since the property is read only.
How do I, upon button click clear any filter on the spgridview if there is any.
Thanks