CausesValidation for controls (buttons) inside usercontrol
How to add CausesValidation for buttons in this usercontrol.
(The control itself is having this property, but how to add this property to each button that is created in this usercontrol)
The usercontrol is ACP Ribbon 2007 author is Adriano Paladini:
https://www.planet-source-code.com/v...66951&lngWId=1
Can you tell if it's even possible to add CausesValidation to the buttons in this usercontrol?
There was already a discussion on CausesValidation property here:
http://www.vbforums.com/showthread.p...ation-required
but how to add it to a controls inside a usercontrol.
Re: CausesValidation for controls (buttons) inside usercontrol
That control seems to use Image objects as button, which has no validate property natively, if changed to Pictures then it is possible.
Re: CausesValidation for controls (buttons) inside usercontrol
Tech99 thanx for reply.
The
Code:
RaiseEvent ButtonClick
is raised in a click event of a label. How to go with the modification? Maybe to try to use a hidden picture box or are there any other ideas?