Getting javascript error:
(anonymous) | @ | ||
(anonymous) | @ |
Hi Patrice,
Thank you for reporting this issue.
As a small note of gratitude for reporting the issue, I have updated your Telerik points.
Regards,
Rumen
Progress Telerik
Hi Vasko,
Thanks for the reply, but the regular expression is in Telerik's code, not mine. Have you checked RadDateInputScript.js?
That's where it lies.
I'm getting this error since I updated to latest version of Telerik. No code change from my end.
Please advise.
Patrice
Hi Patrice ,
The error you're encountering, Invalid regular expression: Range out of order in character class
, indicates that there is a problem with the syntax of the regular expression used in your JavaScript code. This typically occurs when character ranges within the regular expression are not correctly ordered or overlap incorrectly.
To resolve this issue, here are a few steps you can take:
Review the Regular Expression: Examine the character class within the regular expression to ensure that all ranges are correctly ordered. For example, ensure that the start and end characters of each range are properly defined and in the correct order.
Simplify the Expression: If the regular expression is complex or includes many ranges, try breaking it down into simpler parts or removing unnecessary ranges. This can help isolate the problematic part of the expression.
Use Character Classes Carefully: Ensure that any special characters or Unicode ranges are correctly specified and do not overlap. If you're using Unicode ranges, ensure they are valid and correctly formatted.
Validate the Regular Expression: Utilize tools like regex testers available online to validate and test your regular expression independently. This can help identify syntax issues or misconfigurations.
If these suggestions do not help you out, please share additional details, such as the code used for the DateInput and steps to reproduce the error.
Regards,
Vasko
Progress Telerik