Hi there,
Depending on a business rule I need to print one dialog/modal landscape orientation. When I click on print on the Firefox page, the page layout option appears on the print preview page.
But interestingly when I try to print the Blazor dialog/modal page, the layout option does not appear.
Here is my print CSS:
In CSS, I added landscape property but unfortunately didn't work.
Depending on a business rule I need to print one dialog/modal landscape orientation. When I click on print on the Firefox page, the page layout option appears on the print preview page.
But interestingly when I try to print the Blazor dialog/modal page, the layout option does not appear.
Here is my print CSS:
CSS:
@media print {
body * {
visibility: hidden;
}
#printarea, #printarea * {
visibility: visible;
}
#printarea {
position: absolute;
left: 0;
top: 0;
}
}
In CSS, I added landscape property but unfortunately didn't work.