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've created a custom cell (source included below). I've inherited from the combobox and added a new button to it. This button just loads up a custom form that I've created elsewhere. The form is a bit complex and takes 3 seconds to load. When the user clicks on the button in the custom cell an empty listbox appears until the custom form has been created which doesn't look very good. Any idea how I can stop this from happening?
HAhaneefm Syncfusion Team June 4, 2007 07:56 PM UTC
Hi Dan,
You can TableControlCurrentShowingDropDown event to set e.Inner.Handled = true to prevent the showing of the drop-down in a grid cell.
Best regards, Haneef
DDDan DoreyJune 4, 2007 08:45 PM UTC
Haneef,
This does allow me to prevent the drop down from showing up.
However, I'm unsure how to distinguish between the user clicking the drop down button and my custom button. I still need it to drop down when they click on the drop down button.
Dan
>Hi Dan,
You can TableControlCurrentShowingDropDown event to set e.Inner.Handled = true to prevent the showing of the drop-down in a grid cell.
Best regards, Haneef
HAhaneefm Syncfusion Team June 4, 2007 10:22 PM UTC
Hi Dan,
You can handle the CellButtonClicked event to find the cell button in a grid cell and then set e.Cancel to true to tell the gridControl not to do further processing on the mouse click. And this prevents the showing of the drop-down in a gridcell. Below is a code snippet