RouteTable.Routes.GetVirtualPath with route data asp.net MVC 2
- by Bill
Dear all,
I'm trying to get a URL from my routes table. Here is the method.
private static void RedirectToRoute(ActionExecutingContext context, string param)
{
var actionName = context.ActionDescriptor.ActionName;
var controllerName = context.ActionDescriptor.ControllerDescriptor.ControllerName;
var rc = new…