I am trying to use Rounting in ASP.NET 4.0
This is my code:(global.asax file)
void Application_Start(object sender, EventArgs e)
void RegisterRoutes(System.Web.Routing.RouteCollection routes)
routes.MapPageRoute("recordingDemo", "recording.aspx", "~/About.aspx?sub=recordingdemo");
if (Request.QueryString["sub"] != null)
The problem is that I don't have anymore querystring in About page.
What I want to do is: on link recording.aspx(this page doesn't exists in my page) I want to open the page About.aspx?sub=recordingdemo
It is possible to do something like this with Url Rounting?