Hi everyone,

Recently, I filled up a datagrid using column templates. Each column pointed to Public Function in the code behind.

Can I use this on html controls also?
Example....

<input type="button" onclick="btnEmail('check')" name="buttonEmail" value='<%# TestAddTextToButton() %>'>

It does not seem to work, and I'm wondering if either...
1-I'm using the wrong syntax
2-It's not possible to do this.

Note: I can't use response.write because that will place my control on top of the page.


Any help is greatly appreciated.