I have not found "Globalized Report sample " in my installion.
Could you please le me know from where I can download this sample. I need this for implement localization.
Thanks,
Kulwinder
Globalized Report sample
Globalized Report sample
Hello,
Please download it at http://stimulsoft.com/Private/GlobalizedReport.zip
also please find the attached archive
Thank you.
Please download it at http://stimulsoft.com/Private/GlobalizedReport.zip
also please find the attached archive
Thank you.
- Attachments
-
- 457.GlobalizedReportWeb.zip
- (879.4 KiB) Downloaded 860 times
Globalized Report sample
Thanks Andrew
But this code is not useful for me. My problem is that I am using Report's class file instead of ".mrt" file.
My Below code is not working
StiReport report = new StiReports.Report(); // Report is genrated cs class
report.GlobalizationManager = new GlobalizationManager(new CultureInfo(cultureName));
report.RegData(data);
stiwebviewerfx1.Report = report;
Working Code
StiReport report = new StiReport();
report.GlobalizationManager = new GlobalizationManager(new CultureInfo(cultureName));
report.RegData(data);
report.Load(appPath + "\\Data\\SimpleList.mrt");
stiwebviewerfx1.Report = report;
And also there is no "GlobalizationFile" property in stiwebviewerfx1. I tried "Localization" but this is only working if I set it in markup language.
Please suggest.
Thanks
Kulwinder
But this code is not useful for me. My problem is that I am using Report's class file instead of ".mrt" file.
My Below code is not working
StiReport report = new StiReports.Report(); // Report is genrated cs class
report.GlobalizationManager = new GlobalizationManager(new CultureInfo(cultureName));
report.RegData(data);
stiwebviewerfx1.Report = report;
Working Code
StiReport report = new StiReport();
report.GlobalizationManager = new GlobalizationManager(new CultureInfo(cultureName));
report.RegData(data);
report.Load(appPath + "\\Data\\SimpleList.mrt");
stiwebviewerfx1.Report = report;
And also there is no "GlobalizationFile" property in stiwebviewerfx1. I tried "Localization" but this is only working if I set it in markup language.
Please suggest.
Thanks
Kulwinder
Globalized Report sample
Hello,
Please use the GetDataSet event to set the report globalization parameters:
Thank you.
Please use the GetDataSet event to set the report globalization parameters:
Code: Select all
protected void StiWebViewerFx1_GetDataSet(object sender, Stimulsoft.Report.WebFx.StiWebViewerFx.StiGetDataSetEventArgs e)
{
e.DataSet = data;
e.Report.GlobalizationManager = new GlobalizationManager(new CultureInfo(cultureName));
e.Report.Compile();
}