RadScriptManager does not have a public property named CompositeScript

4 posts, 0 answers
  1. Mark Ursino
    Mark Ursino avatar
    4 posts
    Member since:
    Feb 2010

    Posted 17 Jan 2011 Link to this post


    I'm working on a project that has a lot of JavaScript files that are referenced in the masterpage. I'm rebuilding a new version of a site and reusing the same scripts and RadScriptManager in the MasterPage. The old site had used CompositeScript to combine the scripts. When I ported it to the new site's MasterPage I get a warning:

       RadScriptManager does not have a public property named CompositeScript

    Because of this warning my designer file does not get updated in my web application project and therefore I get IntelliSense issues. If I merely comment out the CompositeScript block my designer file updates as expected and IntelliSense works fine.

    I'm using the exact same Telerik DLL from the first site. The version is 2009.3.1208.20. We cannot upgrade this version as other things in our solution require this specific version (it specifically has to do with the CMS we're using and its dependence on Telerik.). Is there a way for me to fix this issue? I know the composite script feature works because on the front-end it does combine the scripts into ScriptResource.axd so I'm trying to figure out why I get this issue which breaks my IntelliSense.

    Thanks in advance.
  2. Simon
    Simon avatar
    2281 posts

    Posted 19 Jan 2011 Link to this post

    Hello Mark Ursino,

    These errors are most commonly caused by the assembly caching mechanism of Visual Studio.

    Please try the following to resolve the issue:
    • Remove all references to Telerik.Web.UI & Telerik.Web.Design from the project.
    • Close Visual Studio.
    • Go to the ASP.NET Temporary Files folder (usually located under C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files) and delete the cached version of your project.
    • Open the project in VS and re-add the references to Telerik.Web.UI and Telerik.Web.Design.
    I hope this helps.

    All the best,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Jason
    Jason avatar
    19 posts
    Member since:
    Feb 2008

    Posted 13 Jul 2011 Link to this post

    I have basically this same error situation coming up with my RadCharts. This fix didn't do anything for me, though.
  4. Simon
    Simon avatar
    2281 posts

    Posted 18 Jul 2011 Link to this post

    Hi Jason,

    Do you have a reference to the Telerik.Web.Design assembly in the project? Additionally, could you please describe in more detail what is the problem with the RadCharts and which is the Telerik.Web.UI version you are using?

    Kind regards,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top