This is a migrated thread and some comments may be shown as answers.

RadScriptManager does not have a public property named CompositeScript

3 Answers 339 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Mark Ursino
Top achievements
Rank 1
Mark Ursino asked on 17 Jan 2011, 05:57 PM
Hi,

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.

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 19 Jan 2011, 05:35 PM
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,
Simon
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.
0
Jason
Top achievements
Rank 2
answered on 13 Jul 2011, 10:54 PM
I have basically this same error situation coming up with my RadCharts. This fix didn't do anything for me, though.
0
Simon
Telerik team
answered on 18 Jul 2011, 11:55 AM
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,
Simon
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!

Tags
ScriptManager and StyleSheetManager
Asked by
Mark Ursino
Top achievements
Rank 1
Answers by
Simon
Telerik team
Jason
Top achievements
Rank 2
Share this question
or