Export to PDF not working

I modified your sample Blazor Bar Chart Example - Syncfusion Demos adding some lines to export the chart in pdf as in the attachment but when I select this option, I receive a page with "attempting to reconnect 1 of 8" and after a while I can use again the page but without any export to pdf file. The same code works in Blazor server version 18. Now I'm using version 19.1.0.66

Attachment: Test_b3d54731.zip

3 Replies 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team June 8, 2021 10:55 AM UTC

Hi Walter, 
  
Based on the console error reported, we suspect that the reported scenario occurs due to the less buffer size. Hence we suggest you to use 100MB or more over the SignalR connection in startup.cs page in your project to overcome the reported scenario. Please find the code snippet below for further reference. 
  
Code Snippet: 
Startup.cs: 
  
using Syncfusion.Blazor; 
namespace BlazorApplication 
{ 
public class Startup 
{ 
    .... 
    .... 
    public void ConfigureServices(IServiceCollection services) 
    { 
        .... 
        .... 
        services.AddSyncfusionBlazor(); 
        services.AddSignalR(e => { 
          e.MaximumReceiveMessageSize = 1024000; 
        }); 
    } 
} 
} 
  
  
If you still face this issue. kindly revert us with more information which will be more helpful for further analysis and provide you the solution sooner. 
  
Regards, 
Srihari M 


Marked as answer

WM Walter Martin June 8, 2021 12:32 PM UTC

You are right !! Thanks this is the solution



SM Srihari Muthukaruppan Syncfusion Team June 9, 2021 12:40 PM UTC

Hi Walter, 
 
Most welcome. 
 
Kindly get in touch with us, if you requires further assistance. We are always happy in assisting you.   
   
Thanks,   
Srihari 


Loader.
Up arrow icon