Page 1 of 1
Globalization properties
Posted: Tue Feb 18, 2014 11:48 pm
by Werlang
Is it possible to inform wchich columns are available in globalization settings?
I'd like to hide Tag, Hiperlink and Tooltip, if possible.
Second, where and when to call StiReport.LocalizeReport in MVC designer? GetReportSnapshotViewer, etc...
TIA
Re: Globalization properties
Posted: Wed Feb 19, 2014 6:59 am
by HighAley
Hello.
Werlang wrote:Is it possible to inform wchich columns are available in globalization settings?
I'd like to hide Tag, Hiperlink and Tooltip, if possible.
You could find all available properties in the Globalization Editor. It's impossible to hide there any property.
Werlang wrote:Second, where and when to call StiReport.LocalizeReport in MVC designer? GetReportSnapshotViewer, etc...
Could you specify which MVC Designer do you use? HTML5 or Flash Designer?
Thank you.
Re: Globalization properties
Posted: Wed Feb 19, 2014 11:18 am
by Werlang
HI.
Ok.
I'm using Flash designer.
Re: Globalization properties
Posted: Thu Feb 20, 2014 8:59 am
by HighAley
Hello.
You could try to use next code to localize report:
Code: Select all
public ActionResult GetReportSnapshotResult()
{
StiReport report = StiMvcViewerFx.GetReportObject(this.Request);
report.LocalizeReport(new CultureInfo("en-EN"));
return StiMvcDesigner.GetReportSnapshotResult(this.Request, report);
}
Thank you.
Re: Globalization properties
Posted: Thu Feb 20, 2014 5:28 pm
by Werlang
LocalizeReport should be called before or after RegBusinessObject and SynchronizeBusinessObjects?
Re: Globalization properties
Posted: Fri Feb 21, 2014 2:09 pm
by HighAley
Hello.
It's no matter.
Do you have any problem with it?
Thank you.
Re: Globalization properties
Posted: Fri Feb 21, 2014 4:33 pm
by Werlang
Hello
Not at all.
I'm just trying to understand hot it works. For the sake of performance I believe it should be done only once after loading report template, instead every time that a page is requested.
Re: Globalization properties
Posted: Mon Feb 24, 2014 11:56 am
by HighAley
Hello.
The LocalizeReport property could be set just once. You don't need to do it for each page.
Thank you.