Issue about shifting page to the right
Posted: Tue May 21, 2013 2:07 pm
Hello,
When i try to load the report in native silverlight mode, sometimes it is shifted to the right. But it works find when press again on refresh button.
Refresh button contains the following code :
report.Dictionary.BusinessObjects.Clear();
report.Dictionary.BusinessObjects.Add(currentBusinessObject);
report.RegBusinessObject(currentBusinessObject.Category, currentBusinessObject.Name, currentBusinessObject.BusinessObjectValue);
report.Dictionary.SynchronizeBusinessObjects();
report.Load(ReportTemplate);
report.ReportUnit = StiReportUnitType.Millimeters;
report.Render();
stiViewerConrol.SaveConfig();
stiViewerConrol.Refresh();
stiViewerConrol.LoadConfig();
stiViewerConrol.Report = report;
stiViewerConrol.CheckEditableComponents();
stiViewerConrol.InvokeToolEditorEnable();
When i try to load the report in native silverlight mode, sometimes it is shifted to the right. But it works find when press again on refresh button.
Refresh button contains the following code :
report.Dictionary.BusinessObjects.Clear();
report.Dictionary.BusinessObjects.Add(currentBusinessObject);
report.RegBusinessObject(currentBusinessObject.Category, currentBusinessObject.Name, currentBusinessObject.BusinessObjectValue);
report.Dictionary.SynchronizeBusinessObjects();
report.Load(ReportTemplate);
report.ReportUnit = StiReportUnitType.Millimeters;
report.Render();
stiViewerConrol.SaveConfig();
stiViewerConrol.Refresh();
stiViewerConrol.LoadConfig();
stiViewerConrol.Report = report;
stiViewerConrol.CheckEditableComponents();
stiViewerConrol.InvokeToolEditorEnable();