Last post Mar 28, 2008 01:37 PM by JByrd2007
Mar 28, 2008 05:53 AM|spacemonkeyiv|LINK
I created my own web control that inherits from CheckBox. When I set the CssClass on my control it renders an html checkbox inside a span element. i don't want it to do that. is there a way to prevent this?
Mar 28, 2008 07:08 AM|Peter Bucher|LINK
Override the TagKey Property, or better, attaching a inline style Attribute to <CheckBox>.InputAttributes
Mar 28, 2008 01:37 PM|JByrd2007|LINK
Here's an answer I posted to a similar question yesterday:
Hope this helps!