Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

DirectEvents' actionName misses a corresponding controllerName property. #1878

Open
fabriciomurta opened this issue Jun 19, 2023 · 0 comments

Comments

@fabriciomurta
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant