I have an app in Blazor that has an embedded designer.
I have the designer in a dialog, and I want to trigger the save command of the designer programatically (when the user clicks the "Aceptar" dialog button). Is there a way to do it?
1 Answer, 1 is accepted
0
Accepted
Momchil
Telerik team
answered on 08 Apr 2024, 09:31 AM
Hi Victor,
Thank you for reaching out.
While the Web Report Designer's commands are not exposed yet, you can trigger the save action programmatically by getting a reference to the save button in the designer's menu and clicking it. For example:
functiontriggerSave() {
var saveBtn = $("#webReportDesigner").find("[data-action='documentSave']");
saveBtn.click();
}
That said, we believe that the designer's main commands should be exposed which is why I have logged a feature request in our Public Feedback Portal on your behalf.