I know this is a simple thing to do but I have been Googling for an hour and haven't found the answer. How do I reference a button in a template to hide it.

I am using the login ID to determine what edit rights the user has and then trying to set rights for a grid. If my grid is named grid1 and my template for the add/edit/delete buttons is named Template1 and I want to hide the delete button named btnDel how would I reference that control to set it's visible property to false?

Thanks in advance