-Larry
Which leads to another question; my knowledge of system.predicate is pretty much zero. How do I find the index of a bound control in the BoundControls collection given the field name?
To get the functionality I was looking for I ended up subclassing BusinessLayer, created a list of NonEditableFields, and added methods to Add, Delete, and Clear the list. As the list is updated I update the BoundControls and refresh the Field/s. However since I also want to reference the field names using the field enums generated by SF, things got a little messy since to do that I have to add shadow methods to the inherited BO that in turn call the methods in my custom BusinessLayer. I solved that by creating my own custom template and adding it to visual studio.
Which brings me to; it would be nice if SF provided this functionality, so I wouldn't have to mess with custom templates. Also the logic could be combined with ManagedReadOnlyState which would be a cleaner solution. Or maybe there is a simpler solution that I haven't thought of.