I bound an MenuItemAdv to an ICommand, and it works fine. The problem is the the CanExecuteMethod does execute, but has no effect. I tried this with both PRISM 8 and Syncfusion's implementation of DelegateCommand
If I use the WPF MenuItem, then the menu disables as expected.
Is this a bug or have I missed something?
Hi Russ,
We have a known issue related to “Disabled state of menuItemAdv”, Please confirm that you are reporting behavior also this one and we have attached a video for your reference. Based on your confirmation we will proceed further on this.
If you have faced any other issues, please modify our sample to reproduce the reported issue if possible. It's also useful for resolving the problem as soon as possible.
Regards,
Sulthan amanu
Sulthan,
Thank you for reply. It does look like the problem, but I cannot be sure since I bound my commands to a view model. Thank you for confirming the issue; I thought I may be using the control incorrectly.
I installed the Syncfusion yesterday and the menu was the first control I tried. With this bug, I cannot use the menu for my project. I will not be spending any more time on this issue, and will be removing Syncfusion from my project, so I do not require a resolution.
Hi Russ,
Sorry for the inconvenience caused.
We are recently logged on to the command binding related issue in Menuadv. our development team currently working on this issue, we are to provide the solution in coming 3rd February.
If you have related queries, we would like to arrange a web meeting to avoid further delays. Could you please let us know your availability? We will make every effort to arrange a meeting at a date and time of your convenience.
Regards,
Sulthan amanu
I appreciate the reply, but I have uninstalled Syncfusion and I am currently evaluating another product.
Hi Russ,
If you wish to use Syncfusion again, we will be happy to provide assistance
Regards,
Sulthan amanu
Hi Syncfusion support,
I'm wondering if this "the command binding related issue in Menuadv" has been fixed in the latest version? I'm having the similar issue. The MenuItemAdv did not change to enable when the CanExecuteMethod excuted.
Regards,
Yong
It does not. There is a work around. Do not use the "CanExecute" in the command but bind to the menu item's enabled property. Not ideal and requires a little more work, but it will do what you want.
Hi Yong Chen,
We have checked your reported scenario and it has already been fixed. This fix was included in the Main release version 25.1.35. Please refer to the sample and video for further information.
Regards,
Bhaskar Suresh