We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Save button in the toolbox

Thread ID:

Created:

Updated:

Platform:

Replies:

125649 Aug 30,2016 05:29 PM Sep 2,2016 09:40 AM ASP.NET MVC 5
loading
Tags: PdfViewer
Sidnei V Lavandoski
Asked On August 30, 2016 05:29 PM

Hi.

Is there a way to put a "Save" button in the PDF Viewer toolbox?

I would like that the user can save the PDF document in your PC.

Thank you

Akshaya Arivoli [Syncfusion]
Replied On August 31, 2016 02:43 AM

Hi Sidnei, 
 
Thank you for contacting Syncfusion support. 
 
We have included the download button in our default toolbar for saving the PDF document and it is available in our latest Essential Studio Version 14.2.0.32. You can download the same from the following location https://www.syncfusion.com/forums/125638/essential-studio-2016-volume-2-service-pack-release-v14-2-0-32-available-for-download 
 
Please let us know if have any other concerns. 
 
Regards, 
Akshaya 


Sidnei V Lavandoski
Replied On August 31, 2016 11:00 PM

Hi Akshaya.

I tested with new version 4.2.0.32 and really there is a download button in the toolbox.

However, when I tested the Localization example, when I put the mouse over the download button a Javascript headerText error occours:
Line: 10
Error: Is not possible get the property 'headerText' from indefined reference or null (the original error was in Brazilian Portuguese language)

If I change the language to en-US the example works correctly.

The Code bellow works only with Locate commented.

 @(Html.EJ().PdfViewer("pdfviewer").ServiceUrl("../../api/PdfViewer")
            //.Locale("pt-BR")
            .PdfService(Syncfusion.JavaScript.PdfViewerEnums.PdfService.Local))

Thank you again

Akshaya Arivoli [Syncfusion]
Replied On September 1, 2016 07:23 AM

Hi Sidnei, 
 
Thank you for your update. 
 
We have created the Localization sample with header text for download button and you can download the same from the following location  
 
Also we have shared you the Localization.cshtml in the following location 
 
 
Kindly replace this file in the sample installed in the location $system drive:\Program Files\Syncfusion\EssentialeStudio\14.2.0.32\Samples\MVC\Samples\Web\Views\PdfViewer\Localization 
 
Please let us know if you need further assistance. 
 
Regards, 
Akshaya 


Sidnei V Lavandoski
Replied On September 1, 2016 11:09 PM

Hi Akshaya.

I download the example and localization.cshtml file and appears that the error still the same.

Are there scripts changed? The error occours in the ej.web.all.min.js file.

Again, the error occour only when I change the language other than en-US.

Thank you.

Akshaya Arivoli [Syncfusion]
Replied On September 2, 2016 09:40 AM

Hi Sidnei, 
 
We have created a new incident under your account for the issue “Header text is missing for download button”. Please log on to our support website to check for further updates https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents   
 
Please let us know if you need further assistance.  
  
Regards,  
Akshaya.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;