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
5 Answers, 1 is accepted
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
"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?
Hello Adam,
You need the SetImageProperties.ascx file in order to modify the button you need.
Regards,
Ianko
Telerik by Progress
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,
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