How can a ClientSideEvent can be attached to a Custom control?

Platform: ASP.NET|Category: Custom Controls

We can add any ClientSideEvent like Onclick,OnBlur in the Render Method as,

protected override void Render(HtmlTextWriter writer)
{
	_button.Attributes.Add('OnClick','JavascriptClickFunction');
}