Center image inside Editor on image load

2 posts, 0 answers
  1. Geoff
    Geoff avatar
    27 posts
    Member since:
    May 2012

    Posted 25 Jul 2012 Link to this post

    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?
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 30 Jul 2012 Link to this post

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