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

user function

3 Answers 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kmv
Top achievements
Rank 1
kmv asked on 24 Jun 2008, 11:20 PM
i have a user function public static and it works fine in preview mode but in web viewer i get 
#ERROR# The expression contains undefined function call ShortAddress().

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Jun 2008, 08:45 AM
Hi Kevin,

There are three cases we can think of, why you might get this error message.

First one is if you have typed in the function manually without rebuilding the class library and therefore it does not exist.
Second one is if you are trying to use the function with wrong number of parameters. Make sure that the passed fields match the function signature you've defined.
Third is if the field you specify in the function is null for some reason. Make sure you handle such cases in your user function.
If the above is not relevant to your case, please open a support ticket and send us a sample report that demonstrates the described behavior.


Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kmv
Top achievements
Rank 1
answered on 25 Jun 2008, 09:25 AM
ahhh it was the third one function signature was (string,int) and the first parameter was a field of null value..

thanks
0
kmv
Top achievements
Rank 1
answered on 25 Jun 2008, 09:25 AM
ahhh it was the third one function signature was (string,int) and the first parameter was a field of null value..

thanks
Tags
General Discussions
Asked by
kmv
Top achievements
Rank 1
Answers by
Steve
Telerik team
kmv
Top achievements
Rank 1
Share this question
or