SetImageProperties_Constrain not working

6 posts, 0 answers
  1. adam
    adam avatar
    3 posts
    Member since:
    Jul 2015

    Posted 22 Sep Link to this post

    When changing the properties of an image, an icon of a broken paperclip shows next to the height and width, which (if clicked) forces the proportions to be constrained.

    Inside RadEditorProvider/App_LocalResources/RadEditor.Dialogs.resx, there is a Name of "SetImageProperties_Constrain" with a value of "Constrain".  However, the properties window is always not-constrained by default... and must be clicked each time.

    Our website is hosted on DNN7, which by default contains the Telerik RadEditor.

    Any ideas on how to set it to be constrained by default?

    Thanks,

    -Adam

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 Sep Link to this post

    Hello Adam,

     

    Typically, in RadEditor that is don by customizing the built-in SetImageProperties dialog. You can find overall instructions for customizing built-in dialogs here: http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx

     

    Where any customization needed should be done by examining the client-side code of the user control and modifying it as per to the application requirements.

     

    If there are any further, specific to DNN configurations needed regarding build-in dialog customization you should contact the DNN support about them as the integration of RadEditor in DNN is handled by their team.

     

    Regards,
    Ianko
    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. adam
    adam avatar
    3 posts
    Member since:
    Jul 2015

    Posted 27 Sep in reply to Ianko Link to this post

    "the Telerik UI installation now comes with a folder namedEditorDialogs which contains all editor's dialogs files'

    "You can configure RadEditor to use its external dialog files by copying the EditorDialogs folder......"

     

    Our RadEditorProvider contains a Dialogs folder, not EditorDialogs.  Also, inside the Dialogs folder are 4 files (DocumentManager.ascx, LinkManager.ascx, RenderTemplate.aspx, SaveTemplate.aspx).

     

    Of these 4 documents, LinkManager.ascx is the only one that has the <tr> <td> structure shown on the linked instructions page.  It appears we don't have the customizable ImageManager file where I could alter the Constrain default?

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 Sep Link to this post

    Hello Adam,

     

    You need the SetImageProperties.ascx file in order to modify the button you need.

     

    Regards,
    Ianko
    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. adam
    adam avatar
    3 posts
    Member since:
    Jul 2015

    Posted 27 Sep in reply to Ianko Link to this post

    Thank you Ianko.  Is there any place I can get this file?

    Also, can I just copy this file into the folder or do we need to reinstall / update something?

     

    Thank you,

  7. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 27 Sep Link to this post

    Hi there,

    The SetImageProperties.ascx and the rest of the dialog files are located in the EditorDialogs folder of the installations. Here is a screenshot of Telerik_UI_for_ASP.NET_AJAX_2016_3_914_Dev_hotfix.zip\EditorDialogs: http://screencast.com/t/BgwjMCmeCVEB

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