tags:

views:

19

answers:

3

I have a GridView with an ImageField and a ButtonField in it. The Image is large .. but i want it to be displayed in a smaller size in the grid.. so I'm looking for a way to fix the cell size of my GridView.

How can I do this?

A: 

Explicity set the height and width of the image. Use CSS to control the size of the rendered tags.

TheGeekYouNeed
+1  A: 

You can make set HighQualityBicubic InterpolationMode when you do the BinaryWrite

Checkout this example code.

KMan
A: 

Try using these two properties on your ImageField.

ItemStyle-Width=""
ItemStyle-Height=""
BrunoLM