Free Support Forum - aspose.com

CustomValidation Message

Is it possible to override this with my own message?

Aspose.Grid.Desktop 1.9.4.3

Hi,

We will support this feature soon.

Thank you

Hi,

Please try the attached version.

You can use the new added Validation.CustomMsgForStopEdit and Validation.CustomMsgForStopOper properties to custom the validation message.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you

Sorry, I must be missing something. The version I have is 1.9.4.4.

I have a class that inherits ICustomValidation and that class is what I create for my validation.

How exactly to I set these properties? If I create an instance of my class, I don't see those nor are they available for overriding in the class itself.

Okay, it looks like after I add the validation, i can set these properties by refering to the

ActiveWorksheet.Validations[cellName].CustomMsgForStopOver, etc.