I use routing in my web forms. for example:
routes.MapPageRoute("Home", "HomePage", "~/Default.aspx");
and I redirect to page with
Response.RedirectToRoute("Home");
now Is there a function (or solution) in asp.net that will give it route name [Home] (or URL parameters [HomePage]) and return original address (Default.aspx)?
Thanks a lot.