I'm trying to add an attribute to a SharePoint web control:
Microsoft.SharePoint.WebControls.BooleanField which basically renders as an html input checkbox control.
How do I add an attribute to this? such as an event?
Normally for an asp.net web control, you can just do:
sampleControl.Attributes.Add("onclick", "alert('test');");
Any Ideas? thanks.