This is a migrated thread and some comments may be shown as answers.

why can not find the function with programmatic to export the report

3 Answers 37 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
kid
Top achievements
Rank 1
kid asked on 17 Aug 2016, 03:32 AM

public static class MyUserFunctions 

{

     public static string Greet(string name)

    {

        return string.Format("Hello, {0}", name);

    }

}

 

Report Designer (standalone), preview is ok.

but programmatic-exporting-report with the template is fail, can not find the function.

how can I resolve the issue?

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 17 Aug 2016, 12:00 PM
Hello kid,

You will need to configure the project that exports the report in a similar way as the Standalone Report Designer - Previewing a report definition that uses an external assembly.

I hope this helps.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
kid
Top achievements
Rank 1
answered on 18 Aug 2016, 02:05 AM

Hi, Stef

   which file to config? 

0
Stef
Telerik team
answered on 18 Aug 2016, 09:08 AM
Hi kid,

The settings must be applied in the config file of the project that uses the ReportProcessor.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
kid
Top achievements
Rank 1
Answers by
Stef
Telerik team
kid
Top achievements
Rank 1
Share this question
or