Posted on: 4/29/2011 1:26:35 PM | Views : 220

Anyone knows what's the way to check if the url of the executing asp.net page is handled by a route and wich one?
I have a dozen route registered and from within a user control tha almost every page in the application I want to check wich route "I'm in".
Now I'm breaking down the url from the request and check for patterns but it's really ugly and feels wrong since I'm not utilizing any of the routing mechanism.
Any Ideas? 
...

Go to the complete details ...