2 * Namespace: System.Web.UI.WebControls
3 * Class: DataGridLinkButton
6 * Maintainer: gvaish_mono@lycos.com
7 * Contact: <gvaish_mono@lycos.com>
11 * (C) Gaurav Vaish (2002)
18 using System.ComponentModel;
20 namespace System.Web.UI.WebControls
22 class DataGridLinkButton : LinkButton
24 public DataGridLinkButton() : base()
28 protected override void Render(HtmlTextWriter writer)
34 private void SetForeColor()
36 if(!ControlStyle.IsSet(System.Web.UI.WebControls.Style.FORECOLOR))
43 Color foreColor = ((WebControl)ctrl).ForeColor;
44 if(foreColor != Color.Empty)
46 ForeColor = foreColor;