Page 1 of 1

Expression in Text property of 'Text1' can't be evaluated! Cannot read properties of null (reading 'callfunction')

Posted: Tue May 09, 2023 6:48 am
by Hussain
Hi team,

I had added a custom function with below code in typescript

function function1(key) {
return this.callfunction();
};

Stimulsoft.Report.Dictionary.StiFunctions.addFunction("SessionInfo", "SessionInfo", "GetSessionInfo", "", "", String, "", [String], [""], [""],function1 );


When Im trying call the callfunction() method in it , it was showing a warning as "Expression in Text property of 'Text1' can't be evaluated! Cannot read properties of null (reading 'callfunction') "

I cant understand what I'm done wrong?

Thanks in Advance

Re: Expression in Text property of 'Text1' can't be evaluated! Cannot read properties of null (reading 'callfunction')

Posted: Wed May 10, 2023 1:10 pm
by Lech Kulikowski
Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.