Page 1 of 1

MVC Designer: Change Designer Options at Runtime / On Action

Posted: Fri Jan 13, 2017 4:21 pm
by florian
Hello,

how can I change the options of the StiMvcMobileDesigner at runtime/onAction. E.g. ShowSaveButton is set to false by default

Code: Select all

@Html.Stimulsoft().StiMvcMobileDesigner("StiMvcDesigner1", new StiMvcMobileDesignerOptions() { ShowSaveButton = false })
and I'd like to show the button after the report was saved via "Save as"

Code: Select all

public ActionResult SaveAsReportTemplate()
    {
    StiReport report = StiMvcMobileDesigner.GetReportObject(HttpContext);
    // ... Report is saved here...
    // => How to enable the save button here?
    return StiMvcMobileDesigner.SaveReportTemplateResult(HttpContext);
    }
Regards,
Florian

Re: MVC Designer: Change Designer Options at Runtime / On Ac

Posted: Tue Jan 17, 2017 2:37 pm
by Alex K.
Hello,

Unfortunately, it is not possible.
All option may be set only before initializing of the designer, viewer.

Thank you.