Custom User Function not working

2 posts, 0 answers
  1. Bhavesh
    Bhavesh avatar
    1 posts
    Member since:
    Nov 2016

    Posted 06 Mar 2017 Link to this post

    We have created a simple function in C# external assembly which returns string and doesn't accept any parameter. We have configured it in Standalone Report Designer config and function is available under "misc" section. We have used the same on a text box using fully qualified name (assembly.class.function).

    But on report preview, text box is blank. We are able to attach the process in VS and debug point is loaded which means, assembly is loaded in attached process but it never hits the break point. Using Iif function we found that function call on report returns null but it seems that it never calls the C# implementation.

    Are we missing anything here?

  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 08 Mar 2017 Link to this post

    Hi Bhavesh,

    You have to configure the reporting engine in the running application in the same 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
Back to Top