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?
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?
Explicity set the height and width of the image. Use CSS to control the size of the rendered tags.
You can make set HighQualityBicubic
InterpolationMode
when you do the BinaryWrite
Checkout this example code.
Try using these two properties on your ImageField
.
ItemStyle-Width=""
ItemStyle-Height=""