Hello,
In your newest version images are gone when I open the web designer. When I click on preview (in the designer) the images are there, but on the designer surface they are gone. Only the selection rectangle is visible when I click on the area where the image is/should be.
Regards
images dissapear
-
- Posts: 135
- Joined: Tue Aug 11, 2009 9:38 am
images dissapear
Hello,
We can not reproduce the problem. Please send us video which step-by-step demonstrates how the problem can be reproduced.
Thank you.
We can not reproduce the problem. Please send us video which step-by-step demonstrates how the problem can be reproduced.
Thank you.
images dissapear
See the attachment for a video, here is the code:
ReportHelper:
Code: Select all
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
if (!IsPostBack && Request.QueryString["stimulsoft_webdesigner"] == null)
{
ReportIdObject report = GetCurrentReport();
if (report != null)
{
StiReport stiReport = ReportHelper.CreatePackedReport(report.PackedReport);
stiReport.ReportAlias = report.Name;
ReportHelper.RegisterDataSource(stiReport);
reportDesigner.Design(stiReport);
}
}
}
Code: Select all
public static StiReport CreatePackedReport(string packedReport)
{
StiReport report = new StiReport();
if (!string.IsNullOrEmpty(packedReport))
{
report.LoadPackedReportFromString(packedReport);
}
SetReportSettings(report);
return report;
}
public static void SetReportSettings(StiReport report)
{
report.Unit = StiUnit.Centimeters;
report.ReportUnit = StiReportUnitType.Centimeters;
foreach (StiPage page in report.Pages)
{
page.PaperSize = PaperKind.A4;
page.Margins = new StiMargins(1.5, 1.5, 1.5, 1.5);
}
foreach (StiReport subReport in report.SubReports)
{
SetReportSettings(subReport);
}
}
public static void RegisterDataSource(StiReport report)
{
RegisterDataSource(report, AcademyDataSet.Create());
}
public static void RegisterDataSource(StiReport report, DataSet dataSet)
{
report.DataSources.Clear();
report.RegData(dataSet);
report.Dictionary.Synchronize();
}
images dissapear
Hello,
We have fixed this error, please download the latest prerelease build with our website.
Thank you.
We have fixed this error, please download the latest prerelease build with our website.
Thank you.