Resize not working

2 posts, 0 answers
  1. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 02 Mar 2010 Link to this post

    Hi,

    I am using the Q3 release.

    I simply want to keep the RadBinaryImage width to 50 pixels, no matter what the image is.

    I am doing this -

     RadBinaryImage1.DataValue = bt
                    RadBinaryImage1.Visible = True
                    RadBinaryImage1.Width = 50
                    RadBinaryImage1.ResizeMode = BinaryImageResizeMode.Fit
                    RadBinaryImage1.DataBind()


    but no matter what, the image (my test is about 400 px wide) will display full size. What am I doing wrong here?



  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 04 Mar 2010 Link to this post

    Hi Karl,

    In order resizing to work you should set both width and height property in pixel.

    All the best,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top