Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

DirectEvents' `actionName` misses a corresponding `controllerName` property.

Open fabriciomurta opened this issue 2 years ago • 0 comments

In issue #1842 the actionName= directive was first mentioned as a valid directive for direct events in Ext.NET 7.

In DirectMethodProvider.cs:GetControllerDirectMethods() (and related code), it is possible to specify the action name (actionName, but controllerName is always the current controller. There should be an additional property to specify the controller in cases dedicated or external controllers are desired, in a syntax similar to @Url.Action("ActionName", "ControllerName") commonly used in MVC Razor pages.

fabriciomurta avatar Jun 19 '23 12:06 fabriciomurta