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

using User Functions in subreport

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mandeep bhullar
Top achievements
Rank 1
mandeep bhullar asked on 17 Feb 2011, 01:07 AM
How can I use UDFs in subreport?  The same function works great in main report, however, it throws error when I use it in subreport.

An error has occurred while processing TextBox 'textBox8':The expression contains undefined function call FormatNos().

In main report, I just use FormatNos(...).  For subreport, the same function is called like <classname>.FormatNos() - I did select them from expression edition by expanding "User functions" - so no typo here.

Would I need to duplicate the functions in all subreport classes?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Feb 2011, 02:19 PM
Hi mandeep,

Check the following KB article that elaborates on the possible reasons for this error: The expression contains undefined function call MyUserFunction() error.

Greetings,
Peter
the Telerik team
Tags
General Discussions
Asked by
mandeep bhullar
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or