how to customize pdf viewer toolbar tools with kendo-angular-pdfviewer 13.0.0 version

1 Answer 8 Views
PDFViewer ToolBar
Lakshmi
Top achievements
Rank 1
Lakshmi asked on 08 Jun 2025, 11:15 AM | edited on 08 Jun 2025, 11:20 AM

 

We want to use "kendo-angular-pdfviewer" package with 13.0.0 version only as we have other exiting kendo packages with "11.6.0" version. If we use latest "kendo-angular-pdfviewer" packages ( which has able to customize pdf toolbar) then we need to change all other packages also which we are not willing to change now. In pdf viewer component, we want to display download button based on some conditions. 

 

"dependencies": {
    "@angular/animations": "^15.2.6",
    "@angular/common": "^15.2.6",
    "@angular/compiler": "^15.2.6",
    "@angular/core": "^15.2.6",
    "@angular/forms": "^15.2.6",
    "@angular/platform-browser": "^15.2.6",
    "@angular/platform-browser-dynamic": "^15.2.6",
    "@angular/router": "^15.2.6",
    "@ngx-translate/core": "^14.0.0",
    "@ngx-translate/http-loader": "^7.0.0",
    "@progress/kendo-angular-buttons": "^11.6.0",
    "@progress/kendo-angular-common": "^11.6.0",
    "@progress/kendo-angular-dateinputs": "^11.6.0",
    "@progress/kendo-angular-dialog": "^11.6.0",
    "@progress/kendo-angular-dropdowns": "^11.6.0",
    "@progress/kendo-angular-excel-export": "^11.6.0",
    "@progress/kendo-angular-grid": "^11.6.0",
    "@progress/kendo-angular-inputs": "^11.6.0",
    "@progress/kendo-angular-intl": "^11.6.0",
    "@progress/kendo-angular-l10n": "^11.6.0",
    "@progress/kendo-angular-layout": "^11.6.0",
    "@progress/kendo-angular-listview": "^11.6.0",
    "@progress/kendo-angular-messages": "^1.44.0",
    "@progress/kendo-angular-notification": "^11.6.0",
    "@progress/kendo-angular-pdfviewer": "^13.0.0",
    "@progress/kendo-angular-popup": "^11.6.0",
    "@progress/kendo-angular-treeview": "^11.6.0",
    "@progress/kendo-data-query": "^1.6.0",
    "@progress/kendo-drawing": "^1.17.5",
    "@progress/kendo-licensing": "^1.3.5",
    "@progress/kendo-theme-default": "^6.2.0",
    "@rxjs/rx": "^4.1.0",
    "auto-complete": "^1.0.0",
    "bootstrap": "^3.3.7",
    "cldr-data": "^36.0.1",
    "core-js": "^3.30.0",
    "file-saver": "^2.0.5",
    "font-awesome": "^4.7.0",
    "jquery": "^3.6.4",
    "moment": "^2.29.4",
    "rxjs": "^7.8.0",
    "rxjs-compat": "^6.6.7",
    "stream-to-string": "^1.2.1",
    "zone.js": "^0.12.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~15.2.5",
    "@angular/cli": "~15.2.5",
    "@angular/compiler-cli": "^15.2.6",
    "@angular/language-service": "^15.2.6",
    "@angular/localize": "^15.2.6",
    "@types/jasmine": "~4.3.1",
    "@types/jasminewd2": "~2.0.10",
    "@types/node": "~18.15.11",
    "codelyzer": "~6.0.2",
    "jasmine-core": "~4.6.0",
    "jasmine-spec-reporter": "~7.0.0",
    "karma": "~6.4.1",
    "karma-chrome-launcher": "~3.1.1",
    "karma-coverage-istanbul-reporter": "~3.0.3",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "^2.0.0",
    "protractor": "~7.0.0",
    "ts-node": "~10.9.1",
    "tslint": "~5.20.1",
    "typescript": "~4.9.4"
  }

 

 

 

 

Please let us know if there is any way to acheive our requirement to display download button based on conditions and with out impacting other kendo packages.

1 Answer, 1 is accepted

Sort by
0
Zornitsa
Telerik team
answered on 11 Jun 2025, 11:45 AM

Hi Lakshmi,

Thank you for the provided package.json reference.

From what I can understand, it appears that you desire to use version 13.0.0 of the `@progress/kendo-angular-pdfviewer` package (in which the PDFViewer package was introduced), while keeping the version of the rest Kendo UI for Angular packages at 11.6.0. Please correct me if I have misunderstood the exact requirements.

In this line of thought, it is important to mention that all installed Kendo packages in an application must have the same version reference in order to avoid any discrepancies between the package dependencies that might potentially cause problematic behavior of the components:

With the above being said, although you mentioned that updating the rest of the Kendo UI for Angular packages is not desired, I am afraid that they need to be updated to at least v13.0.0 to be consistent with the version of the installed PDFViewer package, and in that way, prevent compatibility issues from emerging. 

Lastly, it is important to mention that Angular 15 is not an actively supported version by both the Angular framework and the Kendo UI for Angular library. Thus, we generally recommend updating to an Angular version that is currently supported, and in turn, a compatible Kendo UI for Angular version, to be able to benefit from the most recent bug fixes and features:

I hope the provided information sheds some light on the matter.

Regards,
Zornitsa
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
PDFViewer ToolBar
Asked by
Lakshmi
Top achievements
Rank 1
Answers by
Zornitsa
Telerik team
Share this question
or