EnableEmbeddedScripts="false"

2 posts, 0 answers
  1. Travis
    Travis avatar
    223 posts
    Member since:
    Jan 2003

    Posted 11 Oct 2011 Link to this post

    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?

  2. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 13 Oct 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top