Blumonde

Blumonde

  • NA
  • 78
  • 28.6k

Rotativa Top Menu Toolbar

Nov 7 2017 11:31 AM
I am using MVC and I have been trying to get Rotativa DC toolbar to display at the top but no luck. It only displays the pop-up menu at the bottom of the page when hover mouse over the bottom page. What is the parameter to force Rotativa to always display the top Menu? Does anyone know? Below is my code: (btw, I set it to show the Pdf page on a new tab and it works fine except without the top toolbar)
 
string footer = "--footer-center \"Page: [page] of [toPage]\" --footer-line --footer-font-size \"3\" --footer-spacing 5 --footer-font-name \"calibri light\"";
return new PartialViewAsPdf("_GetLabelRecordsPDF", dsTbl)
{
PageSize = Rotativa.Options.Size.A4,
PageOrientation = Rotativa.Options.Orientation.Portrait,
PageMargins = { Top = 0, Bottom = 0 },
PageHeight = 180,
CustomSwitches = footer
};