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

EnableEmbeddedScripts="false"

1 Answer 85 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 11 Oct 2011, 10:35 PM
I'm trying to set my RadSpell control to not embed scripts so I can reference them myself as described here:
http://www.telerik.com/help/aspnet-ajax/introduction-disabling-embedded-resources.html

I'm running into a few problems.  
 
  1. I don't think the document above is up to date.  I can't seem to find the "Dialogs/DialogControlInitializer.js" file that it mentions in the script directory.  I'm using ASP.NET AJAX Q2 2011 SP1.  I do have a similar file called "DialogInitializerScripts.js".  Should I use this file instead? 
  2. When createing the CombinedSpellScripts file is it just a matter of copying and pasting the specified scripts into this one file?
  3. I did all of the above mentioned, but it seems that I'm getting duplicate versions of core.js and SpellDialog.js loaded.  I think this is because I have the following property set in my RadSpell control:
    HandlerUrl="/applications/pdp/Telerik.Web.UI.DialogHandler.axd"

    I seem to need this property set for things to work, but I suspect that the Telerik.Web.UI.DialogHandler.axd is loading the SpellDialog.js file.  If I don't include the HandlerUrl property, I get a web configuration error.

Any ideas as to how I can make this work?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Oct 2011, 11:31 AM
Hello Travis,

The Dialogs/DialogControlInitializer.js is available in the Scripts directory in the Q2 2011 SP1 installation. For your convenience I have attached a sample working project which demonstrates how to use RadSpell with external script resources.

Please, modify the project so that it demonstrates the issue and send it for examination on our end.

Best wishes,
Rumen
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
Tags
Spell
Asked by
Travis
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or