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

Stimulsoft Ultimate discussion
Post Reply
Hussain
Posts: 11
Joined: Mon May 01, 2023 5:17 am

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

Post 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
Lech Kulikowski
Posts: 6240
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply