I do follow this document but look like it doesn't work, it doesn't run through any line code in class CustomSitefinityRoute
What should i do?
https://www.progress.com/documentation/sitefinity-cms/for-developers-override-the-default-page-route-handling
Do you have your Global.ascx in the Sitefinity Web Application registering your new type?
using System; using System.Web; using Telerik.Microsoft.Practices.Unity; using Telerik.Sitefinity.Abstractions; using Telerik.Sitefinity.Web; namespace SitefinityWebApp { public class Global : HttpApplication { protected void Application_Start(object sender, EventArgs e) { Bootstrapper.Initializing += Bootstrapper_Initializing; } void Bootstrapper_Initializing(object sender, Telerik.Sitefinity.Data.ExecutingEventArgs e) { if (e.CommandName == "RegisterRoutes") { ObjectFactory.Container.RegisterType<SitefinityRoute, CustomSitefinityRoute>(); } } } }
Yes, I am. but it not go to the CustomSitefinityRoute. Is it work with you?
Yes, I am. but it not go to the CustomSitefinityRoute. Is it work with you?