Error: Context Menu in Datagrid

Hello, I used the exact code sample from https://blazor.syncfusion.com/documentation/datagrid/context-menu/#context-menu and an error occured, thus causing the Context Menu to not be displayed at all. 

I've copied the top level error that's being logged on the Console:

blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Event 201 is already tracked

It used to be working on version 18.1, but it stopped working since I've migrated to 18.2.45.

Seeking your assistance on this matter, thank you!

6 Replies

RS Renjith Singh Rajendran Syncfusion Team July 20, 2020 03:07 PM UTC

Hi Zhi, 

Greetings from Syncfusion support. 

We have confirmed it is a bug and logged the defect report “ContextMenu is not rendered in Blazor Grid (Blazor Webassembly application)”. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our upcoming weekly patch release which is expected to be rolled out on or before 22nd July 2020.     
    
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.    

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 



ZY Zhi Yuan July 25, 2020 09:41 AM UTC

Hello,

I noticed from the Release Notes (https://blazor.syncfusion.com/documentation/release-notes/18.2.46/?type=all#grid) that it's supposed to be patched: #285375 - ContextMenu is not rendered in Blazor Grid is fixed.

However, based on the above code sample, it's still not working on my end. I'm seeing an empty white box at the location where I right-clicked. See first row below:




JV José Valenzuela replied to Zhi Yuan July 26, 2020 04:55 PM UTC

Hello,

I noticed from the Release Notes (https://blazor.syncfusion.com/documentation/release-notes/18.2.46/?type=all#grid) that it's supposed to be patched: #285375 - ContextMenu is not rendered in Blazor Grid is fixed.

However, based on the above code sample, it's still not working on my end. I'm seeing an empty white box at the location where I right-clicked. See first row below:



Hello. I have the same error with V18.2.0.46




RS Renjith Singh Rajendran Syncfusion Team July 27, 2020 03:45 PM UTC

 
Thanks for your update. 
 
We would like to inform you that, we have included the fix for ContextMenu is not rendered in Blazor Grid (Blazor Webassembly application)issue in our latest Blazor Weekly patch release (v18.2.0.46).  
 
We suspect that the problem might have occurred because of cache in your application. So please clear the browser and nuget cache before running the application. And also try running your application after clearing the bin and obj folders. We are attaching a working sample of the context menu Grid in WASM.  
 
We have used the codes from the above documentation to create the attached sample. Please download the sample from the link below, 
 
And if you are still facing difficulties, then the following details would be helpful for us to validate the problem and provide you a solution as early as possible. 
  1. Share the sample which you have tried from your side.
  2. Or if possible reproduce the problem with the attached sample and share with us for further analysis.
  3. Share the exact scenario or proper replication procedure.
  4. Share the complete Grid rendering codes.
 
The provided information will help us analyze the problem, and provide you a solution as early as possible. 
 
Regards,            
Renjith Singh Rajendran 
                 
 




ZY Zhi Yuan July 27, 2020 03:59 PM UTC

Hi Renjith,

It turns out that this problem no longer exists on my computer. I wasn't too sure if it's because I restarted my computer which resulted in the cache being cleared. Thank you for your response too!

Before I posted this issue, I followed the steps based on https://blazor.syncfusion.com/documentation/common/how-to/upgrade-syncfusion-components-to-latest-version/#cache-problem. If I recall correctly, I also did clear my bin & obj folders. Since the problem disappeared before I could try the other solutions that you've suggested, I'm not exactly sure what is the fix to this problem.

Do you think it'll be helpful to add additional information in the above documentation based on your answer?

Thanks Renjith!


RS Renjith Singh Rajendran Syncfusion Team July 28, 2020 12:13 PM UTC

Hi Zhi, 

Thanks for your update. 

We are glad to hear that the problem has been resolved. Please get back to us if you need further assistance. 

Thanks for your valuable suggestions, we will consider this suggestions in improving our documentation and the changes will be reflected online in any of the upcoming releases. 

Regards, 
Renjith Singh Rajendran 


Loader.
Up arrow icon