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

Center image inside Editor on image load

1 Answer 91 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Geoff
Top achievements
Rank 1
Geoff asked on 25 Jul 2012, 08:13 PM
I was curious as to how I could get an image to center inside the the RadImageEditor.

For example, I have an RadImageEditor control that is 362x362. If I load an image in it that is 150x 200, I would like for it to center itself inside the editor rather than sit to the top or left side. I'd also like it to dynamically center based on the image size properties as different sized images will be used.

Is this possible with this control?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 30 Jul 2012, 03:41 PM
Hi Geoff,

RadImageEditor does not offer the required functionality out-of-the-box and such customization cannot be easily applied because any modification on the displayed image (via CSS and / or JavaScript) may affect the controls functionality.

Regards,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ImageEditor
Asked by
Geoff
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or