Hello
I would like to know if there is a method that, given a virtual path, will return a collection of parameter names and values for a route that matches the path. I need this to get the parameters of the URL on the target page without resorting to hard-coding a regular expression.
This is I guess the reverse of RouteTable.Routes.GetVirtualPath that takes a RouteValueDictionary and returns a virtual path.
Is this possible?
Mark