I tested one more scenario.
The Page includes a button with a NavigateWithTransitionAction
trigger.
The Controller action returns a normal RedirectResult.
This does not perform the Transition as specified by the page.
Which makes sense, since the Redirect is performing a new navigation
and doesn't copy the route values dictionary initial navigation.
Further testing yielded this routine:
private ActionResult MyRedirect(string controller, string action)
{
var request = new RouteValueDictionary();
request["controller"] = controller;
request["action"] = action;
string routeTransition = this.Request.RouteValues["Transition"] as
string;
if (!string.IsNullOrWhiteSpace(routeTransition))
request["Transition"] = routeTransition;
return Redirect(request);
}
This does perform the transition as specified by the initial request.
Rick...