Want to build the ChatGPT based Apps? Start here
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Blumonde
2.1k
78
25.5k
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
};
Reply
Answers (
0
)
Disable client side validation in .net core
Bring TOTAL In footer in Gridview ?