I have bought your software, and when have some problem need your help.
I put
<%= Html.Stimulsoft().StiMvcDesigner(new StiMvcDesignerOptions() {
ActionGetReportTemplate = "GetReportTemplate",
ActionSaveReportTemplate = "SaveReportTemplate",
ActionGetReportSnapshot = "GetReportSnapshot",
ActionExportReport = "ExportReport",
ActionGetLocalization = "GetLocalization",
ActionExitDesigner = "ExitDesigner",
ActionDataProcessing = "DataProcessing",
ActionGoogleDocs = "GoogleDocs",
LocalizationDirectory = Server.MapPath("~/Content/Localization/"), // Necessary to get a list of available localization files
Width = Unit.Percentage(100),
Height = Unit.Pixel(800)
})%>
on aspx, and wrote an action like your demo project.
public ActionResult SaveReportTemplate()
{
// Get the report template
StiReport report = StiMvcDesigner.GetReportObject(this.Request);
// Save the report template to the packed string (for example)
report.SavePackedReport("d:\\packedReport.mrt");
// ...
// The save report code here
// ...
// Completion of the report saving without dialog box
return StiMvcDesigner.SaveReportResult(false);
// Completion of the report saving with dialog box
//return StiMvcDesigner.SaveReportResult(true);
// Completion of the report saving with message dialog box
//return StiMvcDesigner.SaveReportResult("Some message after saving");
// Completion of the report saving with error dialog box
//return StiMvcDesigner.SaveReportResult(10);
}
I ran the project, I changed first textBox's font from yellow to black, and add a new textBox, then clicked save. I noticed the action had been called, when I open the packedReport.mrt ,I found first TextBox's color had not been changed, but new textBox already been added. Why StiMvcDesigner cannot save font changes?
I tried it in StiWebDesigner, it worked correctly.
Thanks for your help.
StiMvcDesigner cannot save font size and color changes
Re: StiMvcDesigner cannot save font size and color changes
Hello,
This occurs due to the fact that the text component has a specified style. The style has a higher priority. Please select the None style value for text component, then apply the color.
Thank you.
This occurs due to the fact that the text component has a specified style. The style has a higher priority. Please select the None style value for text component, then apply the color.
Thank you.