setting an image-hyperlink width manually???

  • Thread starter Thread starter Daves
  • Start date Start date
D

Daves

my gridview should display a column with an image which also is
hyperlinked...
No problem with:
<asp:HyperLinkField
DataNavigateUrlFormatString="~/Groups/Default.aspx?group={0}"
DataNavigateUrlFields="GroupID" />

but how on earth can I set the image width???

I can also use the Gridview's OnRowDataBound event to manually add the
image/link but still I cannot figure out how to add an Image (with the width
correctly set) inside a HyperLink control? Or the other way around - add a
HyperLink to an Image control?
 
Back
Top