How can we provide single generic method for collection of command buttons. I have collection of digit(0, 1,2..) command buttons and need to have single event method for all of them as they have similar behavior.
How can we provide single generic method for collection of command buttons. I have
Share
You can achieve this by Multicast Delegates
Define
GenericButtonClickevent handler this way:Assign the
GenericButtonClickevent delegate this way (in sayLoadevent handler):Reference: