Skip to content

DOCINFRA-2341_merged_using_automation #3820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f8ef97c
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Nov 14, 2024
19d50ef
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Nov 15, 2024
151a676
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Nov 15, 2024
a0d88b1
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Jan 3, 2025
7132204
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Jan 3, 2025
61ac4a7
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Jan 6, 2025
7ffd295
324496: Provide the dual listbox with drag and drop support sample in…
Yuvan111 Jan 7, 2025
e939408
380623: Updated UG documentation for Import and Export annotation
SF4524LogeshKumar Jan 7, 2025
1892238
380623: Resolved CI failures
SF4524LogeshKumar Jan 7, 2025
1e7386f
Merge pull request #3517 from syncfusion-content/324496-dev-du-dr-lst
BuvanaSathasivam Jan 9, 2025
0823bdb
documentation(931473):Updated
JamunaSundaramSF3699 Jan 9, 2025
29dadf0
Merge pull request #3777 from syncfusion-content/931473-dev
MaithiliyK Jan 9, 2025
f9ef62e
379783: UG Documentation on How to Open PDF From Base64 Data
SF4524LogeshKumar Jan 10, 2025
f793731
324496: Correction in dual listbox with drag and drop sample code of …
Yuvan111 Jan 10, 2025
77b2bab
Merge pull request #3781 from syncfusion-content/324496-dev-dad-corr
BuvanaSathasivam Jan 10, 2025
1edd575
Merge pull request #3769 from syncfusion-content/EJ2-380623-Exportand…
rparthi-pdf Jan 10, 2025
2ba10a4
379783: Updated resourceURL
SF4524LogeshKumar Jan 15, 2025
b8503e5
379783: Update resourceUrl
SF4524LogeshKumar Jan 15, 2025
0b5e1d7
379783: Updated resourceURL
SF4524LogeshKumar Jan 15, 2025
7e57276
Merge branch 'development' into EJ2-379783-openingPdf
SF4524LogeshKumar Jan 15, 2025
8401a01
Merge pull request #3780 from syncfusion-content/EJ2-379783-openingPdf
rparthi-pdf Jan 15, 2025
12a4ca0
931354: UG documentation to outline the features of the Mobile UI ava…
Uma-SF4267 Jan 22, 2025
fc89b11
931354: UG documentation to outline the features of the Mobile UI ava…
Uma-SF4267 Jan 22, 2025
a7aad36
931354: Added images
Uma-SF4267 Jan 22, 2025
a7ef7f7
931354: Added mobile-toolbar.md to toc
Uma-SF4267 Jan 22, 2025
46d773f
933689: Core Application Getting Started Update
SF4535-Pranoove Jan 23, 2025
b5d9a32
Added the release notes MD file and corresponding node entry in the T…
DeepakRajSundar Jan 23, 2025
cbe0c6c
IN-196020 Updated the release notes MD file 28.2.3 with new title
DeepakRajSundar Jan 23, 2025
2606e49
Merge pull request #3800 from syncfusion-content/EJ2-931354
rparthi-pdf Jan 24, 2025
7be0af0
Merge pull request #3806 from syncfusion-content/EJ2-933689-GettingStart
sarathkumarvenkatesan Jan 27, 2025
4ccfe97
935084: Resolve conflict - Merging from hotfix 28.1.33 to development
suba-1997 Jan 27, 2025
f05917e
935084: Resolve conflict - Merging from hotfix 28.1.33 to development
suba-1997 Jan 27, 2025
bc4879c
935084: Resolve conflict - Merging from hotfix 28.1.33 to development
suba-1997 Jan 27, 2025
7601266
Merge pull request #3817 from syncfusion-content/ES-935084-conflict
kmkrish001 Jan 27, 2025
3e3f737
Merge pull request #3775 from Syncfusion-Content/hotfix/hotfix-v28.1.33
SyncfusionBuild Jan 28, 2025
fba7beb
Added the release notes MD file and corresponding node entry in the T…
DeepakRajSundar Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions ej2-asp-core-mvc/Release-notes/28.2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Essential Studio for ##Platform_Name## 2024 Volume 4 SP Release Release Notes
description: Essential Studio for ##Platform_Name## 2024 Volume 4 SP Release Release Notes
platform: ej2-asp-core-mvc
documentation: ug
---

# Essential Studio for ##Platform_Name## Release Notes

{% include release-info.html date="January 29, 2025" version="v28.2.3" %}

{% directory path: _includes/release-notes/v28.2.3 %}

{% include {{file.url}} %}

{% enddirectory %}
108 changes: 108 additions & 0 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/mobile-toolbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
---
layout: post
title: Mobile Toolbar Interface in ##Platform_Name## Pdfviewer Component| Syncfusion
description: Learn All About the Mobile Toolbar Interface in Syncfusion ##Platform_Name## Pdfviewer component of Syncfusion Essential JS 2 and more.
platform: ej2-asp-core-mvc
control: Mobile Toolbar Interface
documentation: ug
domainurl: ##DomainURL##
---
# Mobile Toolbar Interface in ASP.NET MVC PDFViewer Control

The Mobile PDF Viewer offers a variety of features for viewing, searching, annotating, and managing PDF documents on mobile devices. It includes essential tools like search, download, bookmarking, annotation, and page organization. Users also have the option to enable desktop toolbar features in mobile mode, providing a more extensive set of actions.

## Mobile Mode Toolbar Configuration
In mobile mode, the toolbar is optimized for ease of use on small screens, presenting users with the most common actions for interacting with a PDF document. Below are the key features available in mobile mode:

![Mobile toolbar with primary PDF interaction options](./images/mobileToolbar.png)

### Main Toolbar Options:

**OpenOption:** Tap to load a PDF document.

**SearchOption:** Access the search bar to find text within the document.

![Search bar displayed for finding text within a PDF](./images/searchOption.png)

**UndoRedoTool:** Quickly undo or redo any annotations made.

**OrganizePagesTool:** Enable or disable page organization features to modify document pages.

![Page organization interface for modifying PDF pages](./images/organizePages.png)

**AnnotationEditTool:** Activate or deactivate annotation editing to add or modify annotations.

![Annotation editing toolbar allowing users to add, edit, or delete annotations on a PDF](./images/editAnnotation.png)


N> In mobile mode, the annotation toolbar is conveniently displayed at the bottom of the viewer.

### More Options Menu:

When you open the "more options" menu, you will see additional actions such as:

**DownloadOption:** Tap to download the currently opened PDF document.

**BookmarkOption:** Allows you to view bookmarks within the document.

![More options menu showing additional actions like download and bookmark](./images/more-options.png)

## Enabling Desktop Mode in Mobile

The desktop version of the toolbar can be enabled on mobile devices by using the `enableDesktopMode` API. This API allows you to bring desktop-like features to the mobile PDF viewer, providing access to additional toolbar actions that are typically available on desktop platforms.

### Steps to Enable Desktop Mode:

**Step 1:** Set `enableDesktopMode` to true in the API configuration.

**Step 2:** This will replace the mobile toolbar with the desktop toolbar layout, allowing access to more actions and controls.

{% tabs %}
{% highlight html tabtitle="Standalone" %}

<div style="width:100%;height:600px">
@Html.EJS().PdfViewer("pdfviewer").EnableDesktopMode(true).DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").Render()
</div>

{% endhighlight %}
{% highlight html tabtitle="Server-Backed" %}

<div style="width:100%;height:600px">
@Html.EJS().PdfViewer("pdfviewer").ServiceUrl(VirtualPathUtility.ToAbsolute("~/PdfViewer/")).EnableDesktopMode(true).DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").Render()
</div>

{% endhighlight %}
{% endtabs %}

## Enable Scrolling in Desktop Mode with Touch Gestures

To ensure smooth scrolling of PDF documents on a mobile device in desktop mode, it is important to enable touch gesture scrolling. You can achieve this by setting the `enableTextSelection` option to **false**.

{% tabs %}
{% highlight html tabtitle="Standalone" %}

<div style="width:100%;height:600px">
@Html.EJS().PdfViewer("pdfviewer").EnableDesktopMode(true).EnableTextSelection(false).DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").Render()
</div>

{% endhighlight %}
{% highlight html tabtitle="Server-Backed" %}

<div style="width:100%;height:600px">
@Html.EJS().PdfViewer("pdfviewer").ServiceUrl(VirtualPathUtility.ToAbsolute("~/PdfViewer/")).EnableDesktopMode(true).EnableTextSelection(false).DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").Render()
</div>

{% endhighlight %}
{% endtabs %}

## Print Option Not Available

The Print option is not available in mobile mode by default. However, if you need to use the print functionality on mobile devices, we recommend enabling the desktop toolbar on mobile using the `enableDesktopMode` API.

### How to Use Print on Mobile:

**Enable Desktop Mode:** Set `enableDesktopMode` to true to load the desktop version of the toolbar on your mobile device.

**Print Option:** Once desktop mode is enabled, the print option will be available, allowing you to print the document directly from your mobile device.

N> In mobile mode, the print functionality will not be available unless desktop mode is enabled.
52 changes: 52 additions & 0 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/open-pdf-file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
layout: post
title: Open PDF files in EJ2 ASP.NET MVC PDF Viewer | Syncfusion
description: Learn here all about Opening PDF in ASP.NET MVC PDF Viewer component of Syncfusion Essential JS 2 and more.
platform: ej2-asp-core-mvc
control: How to Open PDF From Base64
publishingplatform: ##Platform_Name##
documentation: ug
---

# Opening a PDF from Base64 data in PDF Viewer
### Overview

This guide demonstrates how to load a PDF document from a Base64 string into the Syncfusion PDF Viewer using ASP.NET MVC. This feature is useful for loading PDF data received from a client, database, or other sources where the document is encoded in Base64.

### Opening PDF from Base64 data

**Step 1:** Set Up the PdfViewer in Your ASP.NET MVC Project

Follow the steps provided in the [link](https://ej2.syncfusion.com/aspnetmvc/documentation/pdfviewer/getting-started) to create a simple PDF Viewer sample.

**Step 2:** Use the following code snippet to load PDF document using base64 string.


{% tabs %}
{% highlight html tabtitle="Standalone" %}

@using Syncfusion.EJ2
@{
ViewBag.Title = "Home Page";
}
<div>
<div style="height:500px;width:100%;">
<button type="button" onclick="LoadFromBase64()">:Load From Base64</button>
<!-- Render PDF Viewer using the Html helper method -->
@Html.EJS().PdfViewer("pdfViewer").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").ResourceUrl("https://cdn.syncfusion.com/ej2/28.1.33/dist/ej2-pdfviewer-lib").Render()
</div>
</div>

<script type="text/javascript">
//Load PDF document from base64 String
function LoadFromBase64() {
var viewer = document.getElementById('pdfViewer').ej2_instances[0];
//Enter Base64 Data
viewer.load('Enter Base64 Data',null);
}
</script>

{% endhighlight %}
{% endtabs %}

[View sample in GitHub](https://github.com/SyncfusionExamples/mvc-pdf-viewer-examples/tree/master/How%20to)
120 changes: 120 additions & 0 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/mobile-toolbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
---
layout: post
title: Mobile Toolbar Interface in ##Platform_Name## Pdfviewer Component| Syncfusion
description: Learn All About the Mobile Toolbar Interface in Syncfusion ##Platform_Name## Pdfviewer component of Syncfusion Essential JS 2 and more.
platform: ej2-asp-core-mvc
control: Mobile Toolbar Interface
documentation: ug
domainurl: ##DomainURL##
---
# Mobile Toolbar Interface in ASP.NET Core PDF Viewer control

The Mobile PDF Viewer offers a variety of features for viewing, searching, annotating, and managing PDF documents on mobile devices. It includes essential tools like search, download, bookmarking, annotation, and page organization. Users also have the option to enable desktop toolbar features in mobile mode, providing a more extensive set of actions.

## Mobile Mode Toolbar Configuration
In mobile mode, the toolbar is optimized for ease of use on small screens, presenting users with the most common actions for interacting with a PDF document. Below are the key features available in mobile mode:

![Mobile toolbar with primary PDF interaction options](./images/mobileToolbar.png)

### Main Toolbar Options:

**OpenOption:** Tap to load a PDF document.

**SearchOption:** Access the search bar to find text within the document.

![Search bar displayed for finding text within a PDF](./images/searchOption.png)

**UndoRedoTool:** Quickly undo or redo any annotations made.

**OrganizePagesTool:** Enable or disable page organization features to modify document pages.

![Page organization interface for modifying PDF pages](./images/organizePages.png)

**AnnotationEditTool:** Activate or deactivate annotation editing to add or modify annotations.

![Annotation editing toolbar allowing users to add, edit, or delete annotations on a PDF](./images/editAnnotation.png)


N> In mobile mode, the annotation toolbar is conveniently displayed at the bottom of the viewer.

### More Options Menu:

When you open the "more options" menu, you will see additional actions such as:

**DownloadOption:** Tap to download the currently opened PDF document.

**BookmarkOption:** Allows you to view bookmarks within the document.

![More options menu showing additional actions like download and bookmark](./images/more-options.png)

## Enabling Desktop Mode in Mobile

The desktop version of the toolbar can be enabled on mobile devices by using the `enableDesktopMode` API. This API allows you to bring desktop-like features to the mobile PDF viewer, providing access to additional toolbar actions that are typically available on desktop platforms.

### Steps to Enable Desktop Mode:

**Step 1:** Set `enableDesktopMode` to true in the API configuration.

**Step 2:** This will replace the mobile toolbar with the desktop toolbar layout, allowing access to more actions and controls.

{% tabs %}
{% highlight cshtml tabtitle="Standalone" %}
<div style="width:100%;height:600px">
<ejs-pdfviewer id="pdfviewer"
style="height:600px"
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
enableDesktopMode="true">
</ejs-pdfviewer>
</div>
{% endhighlight %}
{% highlight cshtml tabtitle="Server-Backed" %}
<div style="width:100%;height:600px">
<ejs-pdfviewer id="pdfviewer"
style="height:600px"
serviceUrl="/api/PdfViewer"
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
enableDesktopMode="true">
</ejs-pdfviewer>
</div>
{% endhighlight %}
{% endtabs %}

## Enable Scrolling in Desktop Mode with Touch Gestures

To ensure smooth scrolling of PDF documents on a mobile device in desktop mode, it is important to enable touch gesture scrolling. You can achieve this by setting the `enableTextSelection` option to **false**.

{% tabs %}
{% highlight cshtml tabtitle="Standalone" %}
<div style="width:100%;height:600px">
<ejs-pdfviewer id="pdfviewer"
style="height:600px"
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
enableDesktopMode="true"
enableTextSelection="false">
</ejs-pdfviewer>
</div>
{% endhighlight %}
{% highlight cshtml tabtitle="Server-Backed" %}
<div style="width:100%;height:600px">
<ejs-pdfviewer id="pdfviewer"
style="height:600px"
serviceUrl="/api/PdfViewer"
documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
enableDesktopMode="true"
enableTextSelection="false">
</ejs-pdfviewer>
</div>
{% endhighlight %}
{% endtabs %}

## Print Option Not Available

The Print option is not available in mobile mode by default. However, if you need to use the print functionality on mobile devices, we recommend enabling the desktop toolbar on mobile using the `enableDesktopMode` API.

### How to Use Print on Mobile:

**Enable Desktop Mode:** Set `enableDesktopMode` to true to load the desktop version of the toolbar on your mobile device.

**Print Option:** Once desktop mode is enabled, the print option will be available, allowing you to print the document directly from your mobile device.

N> In mobile mode, the print functionality will not be available unless desktop mode is enabled.
53 changes: 53 additions & 0 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/open-pdf-file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
layout: post
title: Open PDF files in EJ2 ASP.NET CORE PDF Viewer | Syncfusion
description: Learn here all about Opening PDF in ASP.NET CORE PDF Viewer component of Syncfusion Essential JS 2 and more.
platform: ej2-asp-core-mvc
control: PDF Viewer
publishingplatform: ##Platform_Name##
documentation: ug
---

# Opening a PDF from Base64 data in PDF Viewer
### Overview

This guide demonstrates how to load a PDF document from a Base64 string into the Syncfusion PDF Viewer using ASP.NET CORE. This feature is useful for loading PDF data received from a client, database, or other sources where the document is encoded in Base64.

### Opening PDF from Base64 data

**Step 1:** Set Up the PdfViewer in Your ASP.NET CORE Project

Follow the steps provided in the [link](https://ej2.syncfusion.com/aspnetcore/documentation/pdfviewer/getting-started) to create a simple PDF Viewer sample.

**Step 2:** Use the following code snippet to load PDF document using base64 string.


{% tabs %}
{% highlight html tabtitle="Standalone" %}

@page "{handler?}"
@model IndexModel
@{
ViewData["Title"] = "Home page";
}

<div class="text-center">
<button type="button" id="loadButton">Load PDF from Base64</button>
<ejs-pdfviewer id="pdfviewer" style="height:600px" resourceUrl="https://cdn.syncfusion.com/ej2/28.1.33/dist/ej2-pdfviewer-lib" documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf">
</ejs-pdfviewer>
</div>

<script type="text/javascript">
document.getElementById('loadButton').addEventListener('click', function () {
var pdfViewer = document.getElementById('pdfviewer').ej2_instances[0];
//Enter the base 64 Data
var base64String = 'Enter Base64 Data';
// Load the PDF document using the load() method with Base64 string
pdfViewer.load(base64String, null); // Pass null for filename if not required
});
</script>

{% endhighlight %}
{% endtabs %}

[View sample in GitHub](https://github.com/SyncfusionExamples/asp-core-pdf-viewer-examples/tree/master/How%20to)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.