Private Sub Filter_CategoryCreating(sender As Object, e As FilterViewCategoryCreatingEventArgs)
AddHandler DirectCast(e.Category, FilterViewBooleanCategoryElement).ItemCreated, AddressOf BoolCategoryItemCreated
Hello, Armand,
I have made several tests with different scenarios to replicate the undesired behavior you are facing. The CategoryCreating event seems to be fired as expected for the FilterViewBooleanCategoryElement:
Here is my sample code snippet for your reference:
Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.ProductsTableAdapter.Fill(Me.NwindDataSet.Products)
Me.RadGridView1.DataSource = Me.ProductsBindingSource
AddHandler Me.RadFilterView1.CategoryCreating, AddressOf RadFilterView1_CategoryCreating
Me.RadFilterView1.AssociatedControl = Me.RadGridView1
End Sub
Private Sub RadFilterView1_CategoryCreating(sender As Object, e As Telerik.WinControls.UI.FilterView.FilterViewCategoryCreatingEventArgs)
Console.WriteLine(e.Category.PropertyName & " " & e.Category.GetType().ToString())
End Sub
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.