I have a dynamically bound RadGridView, constructed using this blog post, that displays a list of results based on user input. I have a column called "Job Code" that contains either a 1 or a 2. If I filter that column to only show rows where "Job Code" is 1, and then rebind the grid to only contain rows whose "Job Code" is 2, no rows display in the grid as expected, but the Column headers fail to render making it impossible for me to remove the filter.
Here is a sample project I have constructed to illustrate the problem: https://dl.dropbox.com/u/109257/RadGridViewDynamicBinding.zip
Just filter the "Job Code" field so only rows with a value of 1 display. Then click the button at the bottom to only bind rows where the "Job Code" field is set to "2". You should see what I'm talking about.
Is this a bug or expected functionality? I want to preserve a user's filter setting between grid updates, but this presents problems.
Thanks.
Here is a sample project I have constructed to illustrate the problem: https://dl.dropbox.com/u/109257/RadGridViewDynamicBinding.zip
Just filter the "Job Code" field so only rows with a value of 1 display. Then click the button at the bottom to only bind rows where the "Job Code" field is set to "2". You should see what I'm talking about.
Is this a bug or expected functionality? I want to preserve a user's filter setting between grid updates, but this presents problems.
Thanks.