This is a migrated thread and some comments may be shown as answers.

FilterPopupInitialized Event Not Firing

1 Answer 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 14 Oct 2016, 04:51 PM

Hello,

 

I am trying to add a custom filter option to the filter context menu that appears when you click the filter button above a column in a gridview.  This custom filter option will search for empty string values "" within the column.  I read some other related forum posts that pointed me towards the 'FilterPopupInitialized' event.  However, when I tried to wire up this event handler, I can never seem to hit a breakpoint set on my code inside this method.

Any thoughts on why I can't seem to get to my breakpoint?  Also, is this the right approach for adding a custom filter option to the gridview filter context menu?

 

Thanks,

Matt

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Oct 2016, 11:12 AM
Hi Matthew,

Thank you for writing. 

The FilterPopupInitialized event will fire when the Excel-like filtering is used (clicking the button inside the header cell). The ContextMenuOpenning event will fire when the default filtering is used. 

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
GridView
Asked by
Matthew
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or