if am i doing url writing its adding my static word in all page link if mdetail it staic word
it showing static word in all page like medtail/index.aspx. in all css automatically adding mdetal word
mdetail.css...
static void RegisterRoutes(RouteCollection routes)
{
routes.Ignore("{resource}.axd/{*pathInfo}");
routes.MapPageRoute("mdetail", "mdetail/{mid}", "~/mdetail.aspx");
routes.RouteExistingFiles = false;
routes.RouteExistingFiles = false;
routes.Add(new Route("*\\.jpg", new StopRoutingHandler()));
}
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mangesh GPosted Mar 5, 2018, 3:15 AM