buttons with templates and formview???
I wish to have the ability to hide certain buttons such as EDIT, DELETE, or ADD based upon the end users permissions.
I have a table that is read that will determine the end users rights when they enter the form ... but then I need to hide the buttons
that they don't have the right to use.
I see that there may be two ways to do this.
(1) write code to disable the buttons that are default in the templates
. each time I reenter a template all the buttons reappear if I have disabled them first
(2) delete the default buttons in the templates and insert buttons outside the formview
. I can disable the buttons easily here but I can't get the buttons to do the commands which will affect the templates.
any thoughts or suggestions?????
By dave.potter@hol in forum ASP.NET
Last Post: 10-07-2005, 06:10 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL