setting an image-hyperlink width manually???

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top