Hi,
I'm using XForms9Patch.PrintService and Chrome's latest update version 102 is not displaying data on the webview. Any clues and solution to this error?
Example code:
private async Task PrintCodes()
{
//Set up Razor template
var printTemplate = new Printing.PrintTemplate();
//Set the model property
printTemplate.Model = codesModel.ToList();
//Generate the HTML
var htmlString = printTemplate.GenerateString();
if (PrintService.CanPrint)
{
//print html format data
await htmlString.PrintAsync("Codes");
}
}
Hi! I forked the pdf service from f9p for my own reasons…. And I found the answer! The webview construction and initialization must be on the main thread! Lmk if it works for you
Hi, I'm using XForms9Patch.PrintService and Chrome's latest update version 102 is not displaying data on the webview. Any clues and solution to this error? Example code:
Thanks,