rendered paste bodyprotected override void CreateChildControls()
{
(...)
string hlAttributesMOver = "";
string hlAttributesMOut = "";
if (hlRollOverColor != null)
hlAttributesMOver += "this.style.color='" + ExtractColor(hlRollOverColor) + "';");
if (hlForeColor != null)
hlAttributesMOut = "this.style.color='" + ExtractColor(hlForeColor) + "'");
if (hlText != null)
hyperLink.Text = hlText;
else
hyperLink.Text = this.ID;
(...)
hlAttributes += "this.style.cursor='hand';"; // These styles don't function in Firefox 3.0.5 for what it's worth...
hlAttributes += "this.style.cursor='default';";
hyperLink.Attributes["onmouseover"] = hlAttributesMOver;
hyperLink.Attributes["onmouseout"] = hlAttributesMOut;
}