I currently have a RadGridView that I attach a context menu to. I subscribe to the ItemClick event and handle whatever was clicked in that method. This worked fine with RadControls for Silverlight Q2 2012, but after applying the RadControls for Silverlight5 2012 2 0813 hotfix, the functionality is partially broken.
The functionality I want still works in-browser, but when running the application out of browser (OOB), clicking anywhere or pressing keys on a keyboard after opening the context menu (by right clicking on the GridView) causes the context menu to close. The closed event is never fired after clicking on the context menu, it is only fired if I click outside of the context menu. The context menu opening event always gets hit, but the item clicked event is only triggered when the application is running in browser.
The only way I was able to keep the menu open and available to click on is by setting the ContextMenu property StaysOpen to true, but I do not want the menu to stay open like this. I checked the themes for the RadContextMenu and they look identical in both of these Telerik versions.
Here is an example of the code behind (the xaml contains of 1 gridview named 'grid'):
Any help or suggestions would be greatly appreciated.
2 Answers, 1 is accepted
answered on 27 Aug 2012, 12:12 PM
Thanks for reporting this bug. We have reproduced it and logged it in our internal bug tracking system. We'll try to fix it as soon as possible. As the bug persist only in our internal builds I suggest you to use our official release for your purposes.