D
Dave
Hi,
I'm inheriting a LinkButton from a WebControl....
public class LinkButtonFromWebControl : System.Web.UI.WebControls.WebControl
However, in the aspx, if I add the "CssClass=", "CausesValidation=", etc attributes to this control...
<Custom:LinkButtonFromWebControl id="LinkButton3" runat="server" CssClass="linkButtonClass" CausesValidation=False>LinkButton inherited From WebControl</Custom:LinkButtonFromWebControl>
why aren't they displayed as part of the HTML output automatically when the control is rendered?
It's as if I have to manually add them the html output by using "class=" + this.CssClass etc. I would think if this control is inherited from WebControl it would do this for you??
Do I have to implement some type of handler? Thanks, Dave
I'm inheriting a LinkButton from a WebControl....
public class LinkButtonFromWebControl : System.Web.UI.WebControls.WebControl
However, in the aspx, if I add the "CssClass=", "CausesValidation=", etc attributes to this control...
<Custom:LinkButtonFromWebControl id="LinkButton3" runat="server" CssClass="linkButtonClass" CausesValidation=False>LinkButton inherited From WebControl</Custom:LinkButtonFromWebControl>
why aren't they displayed as part of the HTML output automatically when the control is rendered?
It's as if I have to manually add them the html output by using "class=" + this.CssClass etc. I would think if this control is inherited from WebControl it would do this for you??
Do I have to implement some type of handler? Thanks, Dave