+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Help with using the Kendo library included in Sitefinity

Help with using the Kendo library included in Sitefinity

3 posts, 0 answered
  1. Randy Garza
    Randy Garza avatar
    19 posts
    Registered:
    24 Feb 2012
    02 Oct 2012
    Link to this post
    Hi,

    I am getting a route handler error when trying to use the Kendo files that are included in Sitefinity.  In my custom widget control I have the resource links setup as follows:

    <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sf" %>
    <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sf" %>
      
    <sf:ResourceLinks ID="resourceLinks" runat="server">
          <sf:ResourceFile JavaScriptLibrary="JQuery" />
          <sf:ResourceFile  Name="Telerik.Sitefinity.Resources.Scripts.Kendo.styles.kendo_common_min.css" Static="True" />
          <sf:ResourceFile  Name="Telerik.Sitefinity.Resources.Scripts.Kendo.kendo.all.min.js" Static="true" />
    </sf:ResourceLinks>

    Here is the error message I am getting:
    Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    This resolver hasn’t been invoked with the proper route handler.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.ArgumentException: This resolver hasn’t been invoked with the proper route handler.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [ArgumentException: This resolver hasn’t been invoked with the proper route handler.]
       Telerik.Sitefinity.Abstractions.VirtualPath.PageResolverBase.GetRequestedPageNode(RequestContext& requestContext) +310
       Telerik.Sitefinity.Abstractions.VirtualPath.SitefinityPageResolver.Open(PathDefinition definition, String virtualPath) +58
       Telerik.Sitefinity.Abstractions.VirtualPath.VirtualPathManager.OpenFile(String virtualPath) +231
       System.Web.HttpResponse.WriteVirtualFile(VirtualFile vf) +46
       System.Web.StaticFileHandler.ProcessRequestForNonMapPathBasedVirtualFile(HttpRequest request, HttpResponse response, String overrideVirtualPath) +308
       System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context, String overrideVirtualPath) +131
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +408
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +359


    Are there any other steps I need to complete in order to use embedded resources from the Telerik.Sitefinity.Resources assembly?

    Also, I am using Sitefinity version 5.13450.0

    Thanks,

    Randy
  2. Stuart
    Stuart avatar
    18 posts
    Registered:
    28 Jul 2011
    24 May 2013 in reply to Randy Garza
    Link to this post
    Same problem for me in SF6. Did you manage to resolve this?
  3. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    28 May 2013
    Link to this post
    Hi guys,

     I tested this on 5.4 and 6.0 and the resources seem to be properly loaded on the page. Are there any specifics connected with your widget or your project that might be causing the issue? Could you please try to reproduce it on e clean project and send us the exact steps, as we cannot reproduce it.
    Thanks in advance.

    Regards,
    Svetoslav Petsov
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered