I've got a grid that's generating columns automatically, but I don't want it to show the filtering control, so I wired up to the AutoGeneratingCoumn event so that I could set the ShowDistinctFilters property of the column to false. However, when run, the column filters control still appears.
In my XAML:
telerik:RadGridView x:Name="RadGridView1" AutoExpandGroups="True" ShowGroupPanel="False" Grid.Row="1" AutoGeneratingColumn="RadGridView1_AutoGeneratingColumn" />
In my codebehind:
private void RadGridView1_AutoGeneratingColumn(object sender, Telerik.Windows.Controls.GridViewAutoGeneratingColumnEventArgs e)
Note that if I set some other property such as the header, this works as expected. Also, if I statically define columns and set the ShowDistinctFilters property to false in the statically defined column it also works as expected.