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.
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
, butcontrollerName
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.