Cancel save if condition in custom usercontrol failed
Does anyone have a clue how to cancel a submit from a custom validation on a custom usercontrol.
Example: When i check the 'ispostback' from a custom user control I want to check if the value is 1, if it is not; cancel the event and show a text balloon with a custom message.
I know there is a mandatory checkbox and 'validation: ValidationProperty' but I want a custom validation and when it fails cancel the save.
Cancel save if condition in custom usercontrol failed
Does anyone have a clue how to cancel a submit from a custom validation on a custom usercontrol.
Example:
When i check the 'ispostback' from a custom user control I want to check if the value is 1, if it is not; cancel the event and show a text balloon with a custom message.
I know there is a mandatory checkbox and 'validation: ValidationProperty' but I want a custom validation and when it fails cancel the save.
Umbraco: 4.9.1 (yeh i know update nd stuff)
is working on a reply...