Hello,
I have project in .Net Framework 4.5 using the latest Service Release of Infragistics WinForms 13.1. I noticed when moving to .Net Framework 4.5 all the grids with summary rows were taking longer to load. I set Visual Studio to break on all exceptions and noticed that every Summary Row Calculation, while returning the correct data, is getting the error listed below:
PerCederberg.Grammatica.Runtime.RE.RegExpException occurred HResult=-2146233088 Message=unsupported escape character: '\p{L}_]+' at position 1 Source=Infragistics4.Win.UltraWinCalcManager.v13.1 StackTrace: at PerCederberg.Grammatica.Runtime.TokenRegExpParser.ReadEscapeChar() InnerException:
I've attached a sample project that recreates the issue. Please advise as some of my forms have many grids with Summary Rows and the performance is now dreadful.
If the string you are passing in does not include any special escape characters, then clearly whatever you are experiencing is not the same issue. What error message are you getting? Can you post a small sample project demonstrating the issue?
problem now occurs again v15.2 release 15.2.20152.2023, vs2015, .net 4.5
in my code in line
if (ug.DisplayLayout.Bands[0].Columns.Exists(key))
key is "StandardLeadTime", means no special or escape characters.
can you please check?
The June Service Release solves this issue. Looks like the error gets thrown once and then is cached for the life of the application.
Hello acozzi,
I have logged a development issue for this.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing your active cases on the web site.
The PreCederberg exception is coming from the ultracalcmanager. You'll need to check with your dev team on what it is used for. The sample will not have perfprmance issues. my forms with many grids have performance issues. i believe it is related to the error, as when I comment out the summary row code in my real project the grids load instantly.