Hi there,
What do you mean with "set up a size of an image"? Do you just want to add a style attribute for the width? Or do you want to scale the images on the fly?
In the first case, you can't add it to the <asp:Hyoerlink /> as it will be applied to the <a> tag, not the <img> tag. However, you can simply emebed an <asp:Image> within the hyperlink:
<asp:HyperLink runat="server">
<asp:Image Width="200" runat="Server" />
</asp:HyperLink>
Alternatively, look at chapter 11 - Greeting Cards that deals with resizing images at the server.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out
this post.