asp.net mvc - How do I manually lookup a route in the RouteTable MVC.Net? -


this question has answer here:

i have string inside action of 1 of controllers represents referring url. current request's route data not i'm looking (because being called script tag inside view).

i want find action , controller referring url.

is there way can manually use string "/product/23" find controller , action string url produce?

i blogged doing exact thing couple weeks ago:

creating routedata instance url


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -