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

4 posts, 0 answers
  1. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 16 Aug Link to this post

    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?

  2. Stef
    Admin
    Stef avatar
    3042 posts

    Posted 17 Aug Link to this post

    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
  3. DevCraft banner
  4. kid
    kid avatar
    14 posts
    Member since:
    May 2016

    Posted 17 Aug in reply to Stef Link to this post

    Hi, Stef

       which file to config? 

  5. Stef
    Admin
    Stef avatar
    3042 posts

    Posted 18 Aug Link to this post

    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
Back to Top