why after the update from 20.1.0.61 to 20.2.x does the instruction
await pdfviewer.LoadAsync(S.FileByteArray);
no longer work, blocking the entire spa when executed?
before it worked completely in every instance!
what can i do to make it work?
thanks for your help
Hi ,
We have shared the sample in which we have tried to reproduce the issue. Please refer to the below sample. You need to add the below mentioned code snippet in programs.cs file. Kindly try this and revert to us with modified sample, and more details about the reported issue if you have any concerns.
Code Snippet :
builder.Services.AddServerSideBlazor() - instead of this line please use the below highlighted code
builder.Services.AddServerSideBlazor().AddHubOptions(o => { o.MaximumReceiveMessageSize = 102400000; });
Sample Link - https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample_Test_LoadAsync_byte[]1844254462.zip
Regards,
Sinthiya K
I state that my project is wasm.
Also adding the indicated code:
builder.Services.AddServerSideBlazor (). AddHubOptions (o => {o.MaximumReceiveMessageSize = 102400000;});
executable hangs in controls with pdfviever.
Returning to version 20.1.0.61 everything starts working again!
Hi Egidio,
Sorry for the inconvenience, await pdfviewer.LoadAsync(S.FileByteArray) is working properly in WASM, but we are facing another issue in toolbar so, we couldn’t share the sample for the reported issue. We are validating this issue with high priority. However, these issues will be resolved and included in our upcoming weekly release on August 3, 2022 .
Regards,
Sinthiya K
Hi Egidio,
We have shared the sample, await pdfviewer.LoadAsync(S.FileByteArray) is working properly in WASM. Kindly refer the sample for your requirement and revert to us if you have any concern on it.
Sample Link - https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample_Load_WASM_Byte[]-1505965954.zip
Regards,
Sinthiya K
The sample project on my machine works.
Unfortunately I also copied your code in my application and the mere presence of the sfpdfviewer component continues to completely block the execution of the program.
If I go back to version 20.1.0.61 everything starts working again, without changing a line of code!
Hi Egidio,
We are marking this thread as solved since we have created a ticket for the reported issue under your account. Please follow up the ticket for further updates.
Regards,
Anitha