Hello Team, I'm trying to implement a User Defined Function to be access by Telerik Reports. Is a simple Replace function.
In Report designer I followed the instructions of copying the dll where the report designer is located. It runs fine using the following expression TelerikFunctions.Telerik_F.Replace("t").
When I try to run it from an API, It does not return anything.
- I added the TelerikFunctions.dll to the current project where TelerikReporting.dll is located.
- I added the following entries on the appsettings.json
"configuration": {
"configSections": {
"section": [
{
"_name": "Telerik.Reporting",
"_type": "Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting",
"_allowLocation": "true",
"_allowDefinition": "Everywhere"
},
{
"_name": "Telerik.ReportDesigner",
"_type": "Telerik.ReportDesigner.Configuration.ReportDesignerConfigurationSection, Telerik.ReportDesigner.Configuration",
"_allowLocation": "true",
"_allowDefinition": "Everywhere"
}
]
},
"telerikReporting": {
"assemblyReferences": [
{
"name": "TelerikFunctions",
"version": "1.0.0.0",
"culture": "neutral",
"publicKeyToken": "null"
}
]
}
I also placed the function in the wwwRoot where the reports are located. But still, it doesn't recognize the function.
Class Library containing UDF