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

RadScriptManager and WebResources

2 Answers 50 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Avidan
Top achievements
Rank 1
Avidan asked on 01 Jan 2012, 10:13 AM
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 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 04 Jan 2012, 05:25 PM
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?

Greetings,
Simon
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
0
Avidan
Top achievements
Rank 1
answered on 04 Jan 2012, 11:52 PM
Simon,

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

Thanks

Avi
Tags
ScriptManager and StyleSheetManager
Asked by
Avidan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Avidan
Top achievements
Rank 1
Share this question
or