I know in the MVC Framework, you have the Html Class to create URLs:
Html.ActionLink("About us", "about", "home");
But what if you want to generate Urls in Webforms?
I haven't found a really good resource on the details on generating URLs with Webforms.
For example, if I'm generating routes like so:
Route r = new Route("{country}/{lang}/articles/{id}/{title}",
new ArticleRouteHandler("~/Forms/Article.aspx"));
Route r2 = new Route("{country}/{lang}/articles/",
new ArticleRouteHandler("~/Forms/ArticlesList.aspx"));
Routes.Add(r);
Routes.Add(r2);
How would i generate URLs using the Routing table data.
How do I generate URLS based on my routes?
eg. /ca/en/articles/123/Article-Title without