Resize Picture in ImageButton

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I do i resize a ImageUrl Picture to show at 50 precent of its size?
the height is only a set not a precent.
 
I was able to get it to work by adding a height="50%" to a image control and a ImageButton control. It set both images as 50% of the cell width.
I do i resize a ImageUrl Picture to show at 50 precent of its size?
the height is only a set not a precent

User submitted from AEWNET (http://www.aewnet.com/)
 
I changed it to
<asp:ImageButton ID="Picture" height=50% width=50% CommandName="select"
runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,
"carPicture") %>' />

and the pictures don't show at all
 
I alsi tried

Pictureheader.Width.Percentage(50%)
Pictureheader.Height.Percentage(50%)

and


Pictureheader.Width.Percentage(50)
Pictureheader.Height.Percentage(50)

both did not work
 
Back
Top