Globalization properties

Stimulsoft Reports.WEB discussion
Post Reply
Werlang
Posts: 26
Joined: Wed Feb 20, 2013 1:50 pm

Globalization properties

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Globalization properties

Post 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.
Werlang
Posts: 26
Joined: Wed Feb 20, 2013 1:50 pm

Re: Globalization properties

Post by Werlang »

HI.

Ok.

I'm using Flash designer.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Globalization properties

Post 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.
Werlang
Posts: 26
Joined: Wed Feb 20, 2013 1:50 pm

Re: Globalization properties

Post by Werlang »

LocalizeReport should be called before or after RegBusinessObject and SynchronizeBusinessObjects?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Globalization properties

Post by HighAley »

Hello.

It's no matter.
Do you have any problem with it?

Thank you.
Werlang
Posts: 26
Joined: Wed Feb 20, 2013 1:50 pm

Re: Globalization properties

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Globalization properties

Post by HighAley »

Hello.

The LocalizeReport property could be set just once. You don't need to do it for each page.

Thank you.
Post Reply