Unplanned
Last Updated: 22 Nov 2021 10:19 by ADMIN
Christophe
Created on: 15 Nov 2021 10:53
Category: Menu
Type: Feature Request
1
ContextMenu in ASP.NET MVC Disable CopyAnchorStyles

Hello,

The copyAnchorStyles option of the ContextMenu Widget is not available in MVC wrapper. It's not always suitable to retrieve the anchor style and this option is enabled by default.

I've found a workaround thanks to another thread related to this particular option, but the best solution would have been to be able to set it directly with the wrapper.

The workaround consist to override the default value of this option for all ContextMenu widget (or I believe that's what it does):

https://feedback.telerik.com/kendo-jquery-ui/1413111-contextmenu-in-mvvm-form-does-not-set-the-copyanchorstyles-option

<script>
  kendo.ui.ContextMenu.fn.options.copyAnchorStyles = false;
</script>

 

Thank you for your time.

2 comments
ADMIN
Ivan Danchev
Posted on: 22 Nov 2021 10:19

Hello Christophe,

Thank you for submitting this feature request. I've added a vote for it on your behalf.

Regards,
Ivan Danchev
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.

Christophe
Posted on: 15 Nov 2021 11:11
I've wrongly named the ticket, it's not about some mysterious CustomMenu but the ContextMenu, sorry about that.