The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I''m displaying a context menu in the gridcontrol_mousedown event. Based on the menu choice, I''d like to raise a click event in a checkbox on the current row. I can''t seem to figure out just how to communicate the menu choice to the gridcontrol cell click event.
ADAdministrator Syncfusion Team March 31, 2005 10:06 PM UTC
There is no variable in the cell click event args that you can use to pass such information.
One way you can do this is to add a form-level field and set it to to -1. Then before you raise the event, make it hold the menu item. Then test this variable in your handler, ressetting it to -1 as well.
ADAdministrator Syncfusion Team March 31, 2005 10:46 PM UTC
If you really want to use an event to handle things, you can create your own event whose event args passes the menu information as well as the cellclick args. Then you can raise your new event, and catch it in the grid.