Peter,
Probably not. If anything, you would have to create a new class that
derives from HyperLink, and then have that class inject the javascript code
for the rollover effect.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"Peter Eriksson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am making a link with the HyperLink-class like this:
>
> HyperLink link = new HyperLink();
> link.NavigateUrl = "http://www.page.com";
> link.Text = "Some text";
> link.ImageUrl="/images/linkimage.gif";
>
> What I would like to do is to show another image for the link on the
> mouseover event.
>
> Is this possible?
>
> /Peter
>
>