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

Resize not working

1 Answer 134 Views
BinaryImage
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 02 Mar 2010, 10:37 PM
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?



1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 04 Mar 2010, 01:02 PM
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.
Tags
BinaryImage
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or