I am trying to use friendly url. But after redirecting to child page , again it is going to master page. so it keeps on recycling.
I am not able to guess what s happening.
I installed frienly url package. then this is the routeconfig.cs
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
var settings = new FriendlyUrlSettings();
settings.AutoRedirectMode = RedirectMode.Permanent;
routes.EnableFriendlyUrls(settings);
}
}
2. Global.asax.cs
protected void Application_Start(object sender, EventArgs e)
{
RouteConfig.RegisterRoutes(RouteTable.Routes);
}
3.Master page
4.Home Page.
5.sportschildpage.
i put ispostpack condition in all form and i made it home.aspx as a startup page. so it displays nicely without aspx.
everybody knows debugger cycling. i am telling what is happening for m ...
Go to the complete details ...