G
Grzegorz Danowski
Hello,
I'd like to hide control if any of its event handlers is forbidden for
current user (basing on PrincipalPermissionAttribute). How to list all
methods that handle given event?
I supposed that I should use reflection and I examined EventInfo class but I
haven't found in this class any information about handlers list, but there
is a possibility to add one (AddEventHandler method).
I'd like to hide control if any of its event handlers is forbidden for
current user (basing on PrincipalPermissionAttribute). How to list all
methods that handle given event?
I supposed that I should use reflection and I examined EventInfo class but I
haven't found in this class any information about handlers list, but there
is a possibility to add one (AddEventHandler method).