I am using ASP.Net 3.5 SP1 "System.Web.Routing" to enable URL routing in my WebForm Application. Now what i needed is to pass some parameters in QueryString eg:
http://www.mydomain.com/Search/Books/Computers?sort=author&pagesize=10
This is the route i am using:
routes.Add("BooksSearch", new Route
(
"Search/{Category}/{Product}",
new CustomRouteHandler("~/Search.aspx")
));
Route is working fine as it is redirected to search.aspx but in querystring i can't find extra parameters sort & pagesize.