Dec 28, 2013, 3:46 PM
DirectEvent.Action to another Area
How does one make sure a directevent is fired to another Area?
I have a root View with a Form which I would like to post to an action in a specific Area.
When using:
"/Root/Area/Controller/Action"
instead of
"/Area/Controller/Action"
What am I missing here?
Thanks in advance!
I have a root View with a Form which I would like to post to an action in a specific Area.
When using:
directevents.Click.Action = Url.Action("Action", "Controller", new { area = "Area" });
The root controller is still appended to it resulting into a post to:"/Root/Area/Controller/Action"
instead of
"/Area/Controller/Action"
What am I missing here?
Thanks in advance!