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

User function on report

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 02 Sep 2010, 11:30 AM
Im trying to create a function to add to my report,

C# 

static public string CheckWords(params string[] Words)

this will not work when i try to use it to assign a value to a text box, I get a "The expression contains undefined function call".

If I change the function to,

static public string CheckWords(string[] Words)

This works but i would have to call the function for each word rather then sending all the words into the function at once.

any ideas?

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 03 Sep 2010, 10:04 AM
Hi David ,

Currently User Functions don't support params keyword. However your suggestion makes sense and we will have that in mind for subsequent version of Telerik Reporting.

Please excuse us for the temporary inconvenience.

Regards,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
David
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or