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

Custom User Function not working

1 Answer 387 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Bhavesh
Top achievements
Rank 1
Bhavesh asked on 06 Mar 2017, 11:59 AM

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?

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 08 Mar 2017, 03:43 PM
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
Tags
Report Designer (standalone)
Asked by
Bhavesh
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or