Log story short I needed a TreeView to postback when the checkbox associated with an element changed. This search led me to This Post. The solution proposed there works great however there's one issue that took me a long time to hunt down. The last post on the page lists some script to spit out after you've created your object:
<script type=\"text/javascript\">
if (document.all) {
document.getElementById(YOURIDHERE).onclick = foo;
}
</script>
This code works great in IE but doesn't in Firefox. It took me a long time to figure out why but it's due to the document.all like. Firefox doesn't support document.all. If you see that somewhere and like supporting firefox users then don't use it. That's all for now.