I have a grid on a screen that the user can filter using a RadComboBox in a FilterTemplate and everything works great. I will persist this information so if the user leaves the screen and then comes back the will start with their last filter.
The issue I am having is if for some reason a user eliminates the record that the grid was filter on. If the user goes back to the page the screen errors because
SelectedValue='<%# Container.OwnerTableView.GetColumn("ClientName").CurrentFilterValue %>' is looking for a value that does not exist anymore. How can I alter the code so that it would clear there previous filter.
The issue I am having is if for some reason a user eliminates the record that the grid was filter on. If the user goes back to the page the screen errors because
SelectedValue='<%# Container.OwnerTableView.GetColumn("ClientName").CurrentFilterValue %>' is looking for a value that does not exist anymore. How can I alter the code so that it would clear there previous filter.