i'm using this php code in my viewer to show the report.
Code: Select all
StiVariable var1 = report.dictionary.variables.getByName("Variable1");
		var1.DialogInfo.Keys = new string[] {"1", "2", "3"};
		var1.DialogInfo.Values = new string[] {"111","222","333"};
		LongList list = new LongList();
		list.AddRange(new long[] {1,2,3});
		report.CompiledReport["Variable1"] = list;
		viewer.report = report;
		viewer.renderHtml("viewerContent");but i'm still have error in my view report "Uncaught SyntaxError: Unexpected identifier" in this line StiVariable var1 = report.dictionary.variables.getByName("Variable1");
where i do wrong in my code???
thank you

