The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Can anyone give me a simple example of using ajax to save with parameters using PDF Viewer. I noticed while reading the API docs something called
AjaxRequestSettings. Can anyone give me an execution example?
I have seen somewhat of an example but do not have the full picture.
CKChinnamunia Karthik Chinna Thambi Syncfusion Team November 3, 2022 11:12 AM UTC
AjaxRequestSettings is used to set the custom AJAX
request header values of the PDF Viewer AJAX requests. If you want to send the
custom JSON data in the AJAX request parameter while saving the document or any
other request, use the below code snippet.
Code Snippet:
function ajaxRequestInitiate(args) {
var viewer =
document.getElementById('pdfviewer').ej2_instances[0];