When the editor is initialized everything works as expected. I can see the contextmenu for the table but after an postback the contextmenu stops working with the js-error: Access denied. File: LayoutBuilderEngine.js, row: 28, column: 39
Other contextmenus still works.
Using version: 2017.3.913
6 Answers, 1 is accepted
Would it be possible to provide the whole page content and its codebehind along with RadEditor table content so that we can reproduce the problem? You can also try to replicate it in its demos.
Does the problem happen when setting the UseRadContextMenu to true and false?
Ok, this._selectedCell has the error: Access denied, if I jump over that if-statement the contextmenu shows up. Any idea why this happens or how to fix it?
Sorry, it is a lot of code.. Can I do a postback in the demo?
Does the problem happen when setting the UseRadContextMenu to true and false? Yes, same problem.
I acctually found a standalone project where I could reproduce the issue:
ADMIN EDIT: removed link because it contained our commercial assemblies. Please do not upload the dev versions of our assemblies online.
I managed to fix it by placing the JS code override above the RadEditor declaration:
Please test it and let me know how it works.