Routing and SpellCheckHandler.axd

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    38 posts
    Member since:
    Mar 2008

    Posted 20 Dec 2008 Link to this post

    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

    Is there a way to handle this other than with my additional route handles above?

  2. Tervel
    Tervel avatar
    1337 posts

    Posted 23 Dec 2008 Link to this post

    Hello Stephen,

    As far as I am able to judge, your current workaround is concise enough. I am not able to provide a better option.
    My suggestion is to continue using it the way you developed it.

    Best regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top