Server side Resize()

3 posts, 1 answers
  1. softwarea
    softwarea avatar
    77 posts
    Member since:
    Feb 2007

    Posted 20 Sep 2011 Link to this post

    Hi guys,

    I'm trying to resize an EditableImage on the server side.

    // Resize image to the required resolution
    EditableImage image = new EditableImage(currentImage);
    image.Resize(imageWidth, imageHeight);

    Using this code the image is simply cropped to the given resolution. Is this behaviour intended?
    I was hoping for the whole image to become bigger or smaller depending on it's original size. 
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 23 Sep 2011 Link to this post

    Hi Softwarea,

    I tried to reproduce the problem but without success. Could you please see my test and let me know if I am missing something: http://screencast.com/t/8wXxmtSbb8DV?

    Please also modify the attached project so that it demonstrates the problem and send it back for examination via a support ticket.

    Thank you for your assistance in advance.

    Best regards,
    Rumen
    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
  4. softwarea
    softwarea avatar
    77 posts
    Member since:
    Feb 2007

    Posted 24 Sep 2011 Link to this post

    Thanks Rumen,

    I don't know what I missed, but indeed it is working for me as well now.

    Thanks for your assistance (and the great video ;-))
Back to Top