Search found 10 matches

by diogo@forlogic.net
Thu Jan 19, 2023 7:04 pm
Forum: Stimulsoft Reports.WEB
Topic: Stimulsoft.Reports.Web designer and .NET 6 C# Web API
Replies: 10
Views: 4243

Re: Stimulsoft.Reports.Web designer and .NET 6 C# Web API

Hello!

As a workaround I've created a new stateful ASP.NET MVC Web App.
This new webapp will run all designer requests, like loading/saving reports and other commands.

Thank you.
by diogo@forlogic.net
Thu Jan 19, 2023 12:01 pm
Forum: Stimulsoft Reports.WEB
Topic: Stimulsoft.Reports.Web designer and .NET 6 C# Web API
Replies: 10
Views: 4243

Re: Stimulsoft.Reports.Web designer and .NET 6 C# Web API

Hello!

So the designer is not compatible with stateless APIs?
The available options are setting up an external session/cache or provide myself a method to get the report?

Thank you.
by diogo@forlogic.net
Thu Jan 19, 2023 11:54 am
Forum: Stimulsoft Reports.WEB
Topic: Call to .NET core API from angular designer component
Replies: 5
Views: 1842

Re: Call to .NET core API from angular designer component

Hello! These links don't have documentation about the Angular "stimulsoft-designer-angular" component. Which designer event should be handled to add the user token in Authorization header? I already use a module http interceptor, but for the designer requests it is not working. How can I s...
by diogo@forlogic.net
Wed Jan 18, 2023 2:18 pm
Forum: Stimulsoft Reports.WEB
Topic: Call to .NET core API from angular designer component
Replies: 5
Views: 1842

Re: Call to .NET core API from angular designer component

Hello!

Which designer event should be handled to add the Authorization header?
Where can I find the available events for the component "stimulsoft-designer-angular"?
Is there a link with this component docs?

Thank you.
by diogo@forlogic.net
Wed Jan 18, 2023 12:24 pm
Forum: Stimulsoft Reports.WEB
Topic: Stimulsoft.Reports.Web designer and .NET 6 C# Web API
Replies: 10
Views: 4243

Re: Stimulsoft.Reports.Web designer and .NET 6 C# Web API

Hello! I've changed the Post method in DesignController to load and return the report on every request. stimulsoft_return_getreport.png I don't understand the need of doing server requests on every report change when cache is set to none, but the message "Your session has expired!" disappe...
by diogo@forlogic.net
Tue Jan 17, 2023 5:13 pm
Forum: Stimulsoft Reports.WEB
Topic: Stimulsoft.Reports.Web designer and .NET 6 C# Web API
Replies: 10
Views: 4243

Re: Stimulsoft.Reports.Web designer and .NET 6 C# Web API

When I set CacheMode=None it starts showing the message "Your session has expired!"
stimulsoft_session_has_expired.png
stimulsoft_session_has_expired.png (3.46 KiB) Viewed 3547 times
This is how I'm setting the property CacheMode:
stimulsoft_cache_mode_none.png
stimulsoft_cache_mode_none.png (35.01 KiB) Viewed 3547 times
I've attached the source code projects.
Am I doing something wrong?

Thank you!
by diogo@forlogic.net
Tue Jan 17, 2023 12:19 pm
Forum: Stimulsoft Reports.WEB
Topic: Stimulsoft.Reports.Web designer and .NET 6 C# Web API
Replies: 10
Views: 4243

Re: Stimulsoft.Reports.Web designer and .NET 6 C# Web API

Hello! My Web API is stateless and I think the Report Designer is trying to save each change in the server, before I really save the report file. stimulsoft_cache_not_specified.png It only worked when I added the code " builder.Services.AddMemoryCache() " in the Startup.cs / Program.cs fil...
by diogo@forlogic.net
Fri Jan 13, 2023 6:23 pm
Forum: Stimulsoft Reports.WEB
Topic: Stimulsoft.Reports.Web designer and .NET 6 C# Web API
Replies: 10
Views: 4243

Stimulsoft.Reports.Web designer and .NET 6 C# Web API

Hello! I need to integrate the Stimulsoft.Reports.Web Designer with a .NET 6 C# Web API backend. Frontend is an Angular 14 application. The report was loaded with no problem, but when I try to save and use the method StiAngularDesigner.GetReportObject(this), the resulting report is null. For testing...
by diogo@forlogic.net
Fri Jan 13, 2023 6:10 pm
Forum: Stimulsoft Reports.WEB
Topic: CanGrow - Text height is wrong when exporting to PDF
Replies: 4
Views: 755

Re: CanGrow - Text height is wrong when exporting to PDF

Hello!

Thank you, Max!
It solved the problem.
by diogo@forlogic.net
Tue Jan 10, 2023 9:06 pm
Forum: Stimulsoft Reports.WEB
Topic: CanGrow - Text height is wrong when exporting to PDF
Replies: 4
Views: 755

CanGrow - Text height is wrong when exporting to PDF

Hello, I'm using .Net 6 and the Nuget package Stimulsoft.Reports.Web.NetCore (version 2023.1.3) to render my reports and export to PDF. The image below shows what is happening, even with textbox CanGrow property set to true. stimulsoft-wrong-text-height.png If I use the Preview with the Windows Desk...