Hi,
1). Yes, by default, when you set validations e.g Regular Expression, List etc., the tool tip is displayed based on the validation type set. We will check the feasibility if we can enhance this behavior, we will get back to you soon.
2). Yes, this is how it works.For your information, the
Date validation supports yyyy/mm/dd format only at
the client side. So, we recommend you to use some custom validation function to validate your desired dd/mm/yyyy
format instead of Date Validation.
3). Well, this behavior occurs when you use only custom date formatting using CustomFormat property in data binding mode and do not use Date Validation. We will check it but for your issue: "Calendar.style is null or not an object", we don't find it. Please try the attached version and let us know if you still find this issue. If you do, kindly create a simple project to show the issue, we will check it soon.
4). Yes, it can be changed.
Here is a solution to implement your need, you can follow it.
Please try the following steps:
i) Set the property OnCellErrorClientFunction="onCellValidationError" in aspx.
ii) Add the onCellValidationError client script function like:
function onCellValidationError(o)
{
o.style.backgroundImage = "url('/agw_client/dot.gif')";
}
iii) Customize the background image file to replace the foreground/background image url for your need.
iv) You must use backgroundImage instead of backgroundColor, because GridWeb cannot restore the backgroudColor if validation succeeds.
I have also attached the latest fix version with this post, kindly try it
Thank you.
Amjad Sahi
Support Developer,
Aspose Sialkot Team
Contact Us