RadScriptManager and WebResources

3 posts, 0 answers
  1. Avidan
    Avidan avatar
    19 posts
    Member since:
    Sep 2012

    Posted 01 Jan 2012 Link to this post

    I have 2 VB projects one for the web application and the second is a library class project that include embb resources.

    I have created a composite control which combine RadControls and ASP controls. This control finds the RadScriptManager and add a script reference of java script file using its assembly name and file name (i.e. assembleyname.filename.js). As long the JS file in located in the project's root directory, it works well, but when I move the JS file ot another directory (and update the AssemplyInfo file as well i.e. assemblyname.directoryZ.directoryY.filename.js ) the RadScriptManager cannot find it.

    BTW, it work fine when I have a composite control of ASP server controls use ASP Script Manager to upload embb javascripts

    Any idea what is the problem ?

  2. Simon
    Simon avatar
    2281 posts

    Posted 04 Jan 2012 Link to this post

    Hi Avi,

    Almost all RadControls resources are not in the root directory of the project and RadScriptManager handles them properly. Your setup should work properly as well, however this may be a problem with RSM.

    Is it possible for you to provide us with your sample project (either through a support ticket or a public link to the file here), so that we debug it locally?

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. DevCraft R3 2016 release webinar banner
  4. Avidan
    Avidan avatar
    19 posts
    Member since:
    Sep 2012

    Posted 04 Jan 2012 Link to this post


    I solved the problem... the  AssemblyInfo file had wrong assembly name , I missed the full control namesapce.


Back to Top