I've got a web composite control library project and I would like to add a button which runs a java script function when it is clicked. i.e. "onclick"
I'm not sure where/how to add the java function block. A web user control file i.e. ascx allows you to view the HTML section to add script however for a web control library the file is of type .vb.

Any ideas?