ContextMenu loosing focus on RadGridView

1 Answer 102 Views
GridView
João
Top achievements
Rank 1
Iron
Iron
Iron
João asked on 16 Nov 2022, 09:04 AM

Hello!

When i right left click on a cell (of a radgridview) then right click on the same cell, my custom contextmenu (doesn't need to be custom, i can replicate this exact behaviour on the default one) works as intended. However, when i use the right click first, the contextmenu doesn't work as intended... It shows but if i hover my mouse the items don't get "pre-selected", is as it isn't focused. I already exported the properties of the cell on both situations and the one that doesn't work has fewer properties than the one that works (like 30 or so). So, I'm assuming some information is getting lost on the right click. Is there a way to workaround this? Is it a known bug and can i fix it?

I'm using the assemblies '2020.3.1020.40'.

Thank you for the attention!

 

JP

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Nov 2022, 07:21 AM

Hi, João,

Indeed, the described behavior sounds unexpected. We haven't had similar reports from other customers.  I have tested the behavior on my end with the Demo application in the latest version and it seems to work as expected:

Could you please specify the exact steps how to reproduce the problem with the Demo project? Alternatively, get back to me with a sample code snippet demonstrating the exact setup I need to replicate the undesired behavior. Thus, I would be able to investigate the precise case and provide further assistance.

Thank you. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

João
Top achievements
Rank 1
Iron
Iron
Iron
commented on 17 Nov 2022, 09:09 AM | edited

Hi Dess!

I tried to record 2 videos. One of the error happening and other of it working but it seems i managed to find something. 

If the data is really high (the one one the video is around 30k lines) it really easy to replicate the error. I also found that it's easy to replicate the error as well IF the CPU usage is high (it was what happened while i was recording).

I assume it would be ideal to get a workaround since this might be the problem of a lot of data and weak computers, since it's really hard for me to replicate it if i don't have anything open (in my computer) and i try to do it in a grid with 4 lines.

 

JP

Dess | Tech Support Engineer, Principal
Telerik team
commented on 18 Nov 2022, 12:10 PM

Hi, João,

I have prepared a sample project with 30L rows added to the grid. However, I am still unable to reproduce the issue you are facing. Please refer to the attached gif file illustrating the behavior on my end with the specified version. I have attached my sample project. Please give it a try and see how it works on your end. Am I missing something? Could you please specify the exact steps how to reproduce the problem? Do I need to modify the project in any way to reproduce the experienced issue so I can investigate the precise case. Thank you in advance. 

I am looking forward to your reply.
João
Top achievements
Rank 1
Iron
Iron
Iron
commented on 18 Nov 2022, 03:53 PM

Hey again!

The language I'm using is different and this might be a problem of the language itself and maybe the software that is using.

Do you think of anything i could try to fix this problem (just ideas) so I could test it out? Maybe we'll manage to fix by making me test something. Maybe, forcing a left click on the cell or something like that...

If i supplied you with a project in the language "Progress 4gl" would that be usefull to you or you don't work with that language?

JP

Dess | Tech Support Engineer, Principal
Telerik team
commented on 21 Nov 2022, 09:04 AM

Hi, João,

Indeed, we can provide assistance with UI for WinForms and C#/VB.NET. We are not aware of an issue in the grid which would result in the described on your end behavior. I have also tested a sample application in C# with the latest version R3 2022 SP2 and the context menu is successfully shown. I understand that you are using OpenEdge and Developer Studio, please note that for OpenEdge related topics the preferred places to submit a technical question are Salesforce and the Progress Community. You can log in to these websites straight from your Progress account: https://progresslink.progress.com/supportlink.

Tags
GridView
Asked by
João
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or