RadEditor, externaldialogspath, and aspnet_compiler

2 posts, 0 answers
  1. Bill
    Bill avatar
    10 posts
    Member since:
    Jul 2013

    Posted 12 Jun 2014 Link to this post

    We are trying to customize the javascript in the LinkManager dialog.
    The EditorDialogs folder has been copied to our webapp foloder and we modified the javascript (and some of the html).
    The externaldialogspath property for RadEditor is set to "~\EditorDialogs".
    The code works as expected on the dev machines.
    As part of deploying our application we pre-compile using aspnet_compiler.
    When the deployed app is run, the changes are not present.

    I believe the Telerik.Web.UI.dll is taking precedence over the compiled ascx file from ~\EditorDialogs.

    Any suggestions?

  2. Ianko
    Ianko avatar
    1956 posts

    Posted 16 Jun 2014 Link to this post

    Hi Bill,

    Thank you for contacting the Telerik support.

    Indeed when the aspnet precompiler is used the customized ASCX file is not properly deployed or being overridden by the Telerik.Web.UI library. Such behavior is expected because when the files are compiled the methods of the customized ASCX and the one from built-in are the same.

    A simple workaround I found is to insert the customized dialog file from the DEV environment to the deployment server. Using the aspnet compiler, the generated folder structure is the same as the one from the original project and just copying and pasting the file should work fine.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top