...

View Full Version : Referencing a button in a template



GuitReal
06-13-2011, 05:11 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum