Hi I Have a Template for a DataView :

HTML Code:
	var tpl = new Ext.XTemplate(
		    '<tpl for=".">',
			'<div id="{id}" class="thumb-wrap" >',
		    '<p><br>[B]<input type="button" id="delete-button" value="delete" />[/B]',
			'<input type="radio" name="is_startbild" value="{id}" {is_startbild}></p>',
		    '<div class="thumb"><img src="../services.php?{url}" title="{name}" width=80></div>',
Now ic want to fetch the button in oder to catch an event with Ext.get('delete-button') but it always says Ext.get('delete-button') is null

Thanks for help