Can't remove listener

How can I remove listener from sfdatagrid.QueryCoveredRange?

It throws error CS0079 when I try  sfdatagrid.QueryCoveredRange = null

and also 

sfdatagrid .QueryCoveredRange -= sfDataGrid1_QueryCoveredRange

doesn't remove it?


1 Reply

RM Rabina Murugan Syncfusion Team December 30, 2024 11:33 AM UTC

Hi Zdravko Filipovic,
We have reviewed the reported scenario and attempted to replicate the issue of unwiring the QueryCoveredRange event in the FormClosed and Dispose method. However, we were unable to reproduce the reported scenario. To investigate this further, we kindly request you to provide additional details or steps to replicate the scenario. For your reference, we have attached a sample demonstrating the proper unwiring of the event. Could you please replicate the reported  scenario on your end and update us with the details so we can evaluate further?
Regards,
Rabina

Attachment: SfDataGridUnwireEvent_df2ea56d.zip

Loader.
Up arrow icon