Quantcast
Viewing latest article 23
Browse Latest Browse All 29

asp.net route does not work

I have a next route:

routes.MapRoute(
    "CatalogFilter",
    "{url}Catalog.aspx/{fltr}",
    new { controller = "Catalog", action = "Index", page = 1 }
);

So link does not match that route: http://localhost:63515/MotorOilCatalog.aspx?fltr=156 instead of http://localhost:63515/MotorOilCatalog.aspx/156.

I tried to remove all other routes to be sure that there are no unambiguous or conflicted routes but it also does not work.

I installed Phil Haacks "Route Debugger" and it shows: Image may be NSFW.
Clik here to view.
list of routes


Viewing latest article 23
Browse Latest Browse All 29

Trending Articles