I use ASP.NET Routing for pretty URLs, but I cant access QueryStringParameters (only RouteData value). I am using the routing with Web Forms.
Here is example of my RegisterRoutes (Global.asax):
routes.MapPageRoute("Catalog", "{language}/catalog/", "~/Pages/Catalog.aspx?step=1");
I use this code for accessing parameter "step" in Catalog.aspx page:
string value = Request.QueryString["step"];
But it returns null.
How can I access QueryString parameter "step" if I don't want toget it from RouteData?