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
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
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