This is a migrated thread and some comments may be shown as answers.

SetImageProperties_Constrain not working

5 Answers 131 Views
Editor
This is a migrated thread and some comments may be shown as answers.
adam
Top achievements
Rank 1
adam asked on 22 Sep 2016, 03:29 PM

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

Sort by
0
Ianko
Telerik team
answered on 27 Sep 2016, 08:14 AM

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.
0
adam
Top achievements
Rank 1
answered on 27 Sep 2016, 01:39 PM

"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?

0
Ianko
Telerik team
answered on 27 Sep 2016, 01:58 PM

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.
0
adam
Top achievements
Rank 1
answered on 27 Sep 2016, 02:02 PM

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,

0
Rumen
Telerik team
answered on 27 Sep 2016, 03:06 PM
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.
Tags
Editor
Asked by
adam
Top achievements
Rank 1
Answers by
Ianko
Telerik team
adam
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or