Options

Save as PDF/Excel in Report Viewer

TonyHTonyH Member Posts: 223
edited 2011-04-06 in NAV Three Tier
Any idea why the save as pdf or XL is missing from my reports in RTC?

On the same system I ran the Cust Top 10 list and I can export that to PDF or XL.

Trying to look through the training materials from PS and still can't find a "Turn on" option.

Any ideas?

Comments

  • Options
    clauslclausl Member Posts: 455
    If you run this code:
    IF CurrReport.PREVIEW THEN;
    
    We will know that you are in preview mode and printing and exporting to PDF/XLS should not be allowed.
    This is standard behavior which has been in the Classic client for years, but with PDF XLS disabled in the Report Viewer this is more visible.

    Instead of modifing the code you might want to look at my suggestion for how this also can be done here:
    http://blogs.msdn.com/nav/archive/2009/10/08/send-email-with-pdf-attachment-in-nav-2009.aspx

    Regards,
    Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • Options
    wicwic Member Posts: 96
    One of the problem is, you cannot use the "Print Layout" function which will give you the needed information to know if your document is "nice" enough or you should move some lines to avoid wrong placed page break.

    That's it!
    =; Or someone has a trick to display just this button!?!?
    Or someone can tell me how to preview the document in "Print Layout" mode = WYSIWYG
    Or maybe MS should call the report like "reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);"
    Or ?

    Regards
    #### Only one can survive ######
Sign In or Register to comment.