Image Editor in Image Manager of RadEditor Can't use pencil?

5 posts, 0 answers
  1. SHSIOW
    SHSIOW avatar
    5 posts
    Member since:
    Jul 2014

    Posted 12 Jul Link to this post

    Wonder if this had been asked before but I notice the Image Editor in Image Manager of RadEditor lack the ability for pencil drawing or did I miss something here?

    I was under the impression that the Image Editor in Image Manager of RadEditor actually is the Rad Image Editor.

  2. Misho
    Admin
    Misho avatar
    129 posts

    Posted 14 Jul Link to this post

    Hi,

    By default, all RadEditor dialogs are embedded as resource files in the Telerik.Web.UI.dll. In order to provide an easy way to modify the editor's dialogs, the Telerik UI installation now comes with a folder named EditorDialogs which contains all editor's dialogs files.

    You can configure RadEditor to use its external dialog files by copying the EditorDialogs folder to your web application and setting the ExternalDialogsPath property to point to it. Here is the demo that is showing an example and a help article:
    http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx
    http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/dialogs/externaldialogspath-property.html

    In this way you can modify the ImageEditor properties to include the tools that you like to be shown.

    I hope that helps.

    Regards,
    Misho
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. SHSIOW
    SHSIOW avatar
    5 posts
    Member since:
    Jul 2014

    Posted 14 Jul in reply to Misho Link to this post

    Got it working as intended. However, the pop up menu option for pencil tool look wired. (see Attached).

    Is there anything missing here ?

    Below is the additional entry I put in the ImageEditor.ascx under the EditorDialogs as per your previous reply.

                        <telerik:ImageEditorTool Text="Pencil" CommandName="Pencil" IsToggleButton="true" />

     

     

  5. Misho
    Admin
    Misho avatar
    129 posts

    Posted 19 Jul Link to this post

    Hi,

    You need to add few localization strings to RadEditor.Dialogs.resx file under App_GlobalResources since the Pencil is not one of the default dialog tools here is a video showing the approach:
    http://screencast.com/t/bagg06BVK4
    I'm attaching the file for convenience.

    Best Regards,
    Misho
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  6. SHSIOW
    SHSIOW avatar
    5 posts
    Member since:
    Jul 2014

    Posted 19 Jul in reply to Misho Link to this post

    Excellent !!!

    Got it done, TQVM.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017