4 Answers, 1 is accepted
First, you need to make a form that inherits PdfPrintPreviewDialog which will allow you to see the default dialog at design time. Then you can use your dialog with the following code:
I hope this will be useful. Let me know if you have additional questions.
OK, I have the viewer navigator using my form as follows:
in the user control that holds the pdf viewer:
radPdfViewerNavigator1.PrintButton.MouseDown += PrintButton_MouseDown;
in that event I have to code you posted, but referencing my new form
uvtPrintViewDialog dialog = new uvtPrintViewDialog(document);
My form has a constructor that takes the document:
public uvtPrintViewDialog(RadPrintDocument printDocument) : base(printDocument)
And it shows my form. So that is great ;)
But my issue now is, all of the controls on the form are locked. all I want to do is make them bigger, hide the watermark button, some simple stuff.
Yes, currently all controls are declared private in the main form and the only way to change them would be in the code behind. I have logged this for improvement in our Feedback Portal. You can track its progress, subscribe to status changes and add your comment to it here. I have also updated your Telerik Points.
Should you have any other questions do not hesitate to ask.