John Baird
Coatesville, Pennsylvania, United States
>I'm looking for an event that is analogous to the init event with VFP controls. I want to do some enabling, disabling, etc based on the users permissions. For example, i want to test a textbox for the users permission to read, add, edit, delete, view, etc and then have the control displayed or not, enabled or not, etc.
Can't you subclass the control and override the constructor?
Another option, in your page_load event interate through the controls passing a reference to each control to some decorator class to populate these settings.
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only