We are building a CMS type application and using Route handling to map attractive paths. This was causing a problem for lots of Telerik dialogs until the Q3 version. I've wired up the DialogHandler.axd (per directions in various postings) and its working well. However, I'm now having a problem with the SpellCheckHandler.axd. Specifically if the page request references subdirectories then those subdirectories appear in the requst for the axd component. I've handled it so far by including the following in my route modifications
routes.Add(new Route("{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
routes.Add(new Route("{path}/{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
routes.Add(new Route("{path}/{subpath}/{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
This remaps it for one or two levels but I thinking there should be away around this. The DialogHandler is taken care of with the folowing
base.DialogHandlerUrl = "~/Telerik.Web.UI.DialogHandler.axd";
but I don't see anything similar for the SpellCheckHandler which is loaded via paths such as
~/PODS/page/Telerik.Web.UI.SpellCheckHandler.axd
Is there a way to handle this other than with my additional route handles above?
routes.Add(new Route("{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
routes.Add(new Route("{path}/{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
routes.Add(new Route("{path}/{subpath}/{resource}.axd/{*pathInfo}", new StopRoutingHandler()));
This remaps it for one or two levels but I thinking there should be away around this. The DialogHandler is taken care of with the folowing
base.DialogHandlerUrl = "~/Telerik.Web.UI.DialogHandler.axd";
but I don't see anything similar for the SpellCheckHandler which is loaded via paths such as
~/PODS/page/Telerik.Web.UI.SpellCheckHandler.axd
Is there a way to handle this other than with my additional route handles above?