asp.net mvc routing - MVC database views and Url problems -
i have question hope know answer to. of views stored in database , don't follow mvc routes, allow full urls like:
localhost:3892/categories/category/asset?categoryid=3&id=119
and works fine, capture , handle on custom mvchandler class. problem is, have url this:
localhost:3892/categories/category/asset/edit?categoryid=3&id=119
this has element (edit) nothing else has changed doesn't hit custom mvchandler , know if knows why?
i solved adding catchall route looked this:
// catchall route routes.maproute( "catchall", // route name "{*url}" ).routehandler = new cmsroutehandler(); that allows url long require
Comments
Post a Comment