Skip to content

891180: toolbar modules alignment issue #3133

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 5 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 2 additions & 14 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Getting Started with EJ2 ASP.NET MVC PDF Viewer Control | Syncfusion
description: Learn how to getting started with PDF Viewer control in ASP.NET MVC application. You can view and comment on PDFs in ease and also can fill form fields.
platform: ej2-asp-core-mvc
control: PDF Viewer
publishingplatform: ej2-asp-core-mvc
publishingplatform: ##Platform_Name##
documentation: ug
---

Expand Down Expand Up @@ -128,16 +128,4 @@ Press <kbd>Ctrl</kbd>+<kbd>F5</kbd> (Windows) or <kbd>⌘</kbd>+<kbd>F5</kbd> (m

N> [View Sample in GitHub](https://github.com/SyncfusionExamples/ASP-NET-MVC-Getting-Started-Examples/tree/main/PDFViewer/ASP.NET%20MVC%20Razor%20Examples).

N> You can refer to our [ASP.NET MVC PDF Viewer](https://www.syncfusion.com/aspnet-mvc-ui-controls/pdf-viewer) feature tour page for its groundbreaking feature representations. You can also explore our [ASP.NET MVC PDF Viewer example](https://ej2.syncfusion.com/aspnetmvc/PdfViewer/Default#/material) to understand the core features of PDF Viewer.

## Limitation over Server-Backed PDF Viewer to Standalone PDF Viewer control

When comparing a Standalone PDF Viewer to a Server-Backed PDF Viewer control, it's crucial to understand the limitations that the Standalone PDF Viewer may have in comparison. These limitations are important to consider

### Local File Access

* The Standalone PDF Viewer control does not have the capability to directly access and load local physical files from a user's device. As a result, it is not possible to use a documentPath to load a PDF file directly from a local server within the viewer.

* The Standalone PDF Viewer allows users to export annotations and form fields from the viewer, it's important to be aware that the viewer does not support the direct import of annotations and form fields from a locally specified file path. In other words, you can extract annotations and form fields from the viewer, but you cannot reintroduce them into the viewer from external sources by specifying a file path located on your local device.

N> These limitations are temporary and are expected to be addressed in the near future.
N> You can refer to our [ASP.NET MVC PDF Viewer](https://www.syncfusion.com/aspnet-mvc-ui-controls/pdf-viewer) feature tour page for its groundbreaking feature representations. You can also explore our [ASP.NET MVC PDF Viewer example](https://ej2.syncfusion.com/aspnetmvc/PdfViewer/Default#/material) to understand the core features of PDF Viewer.
12 changes: 6 additions & 6 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.MVC/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ The following table shows built-in toolbar items and its actions:-
| UndoRedoTool | This tool provides options to undo and redo the annotation actions performed in the PDF Viewer.|
| AnnotationEditTool | This tool provides options to enable or disable the edit mode of annotation in the PDF Viewer.|

### Show/Hide the default toolbar
## Show/Hide the built-in toolbar

The PDF Viewer has an option to show or hide the complete default toolbar. You can achieve this by using the following two ways.,
The PDF Viewer has an option to show or hide the complete built-in toolbar. You can achieve this by using the following two ways.,

* **Show/Hide toolbar using enableToolbar API as in the following code snippet.**

Expand Down Expand Up @@ -62,9 +62,9 @@ The PDF Viewer has an option to show or hide the complete default toolbar. You c
</script>
```

### Show/Hide the default toolbaritem
## Show/Hide the built-in toolbaritem

The PDF Viewer has an option to show or hide these grouped items in the default toolbar.
The PDF Viewer has an option to show or hide these grouped items in the built-in toolbar.

* **Show/Hide toolbaritem using toolbarSettings as in the following code snippet.**

Expand Down Expand Up @@ -276,7 +276,7 @@ N> When customizing toolbar items, you have the flexibility to include either ic

## Custom Toolbar

The PDF Viewer provides API for user interactions options provided in it's built-in toolbar. Using this we can create our own User Interface for toolbar actions in application level by hiding the default toolbar. The following steps are used to create the custom toolbar for PDF Viewer,
The PDF Viewer provides API for user interactions options provided in it's built-in toolbar. Using this we can create our own User Interface for toolbar actions in application level by hiding the built-in toolbar. The following steps are used to create the custom toolbar for PDF Viewer,

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

Expand All @@ -297,7 +297,7 @@ new ToolbarItem { Type = ItemType.Button, PrefixIcon = "e-pv-download-document-
<input type ="file" id="fileUpload" accept=".pdf" style="display:block;visibility:hidden;width:0;height:0;">
```

**Step 3:** Hide the default toolbar of PDF Viewer using below code snippet,
**Step 3:** Hide the built-in toolbar of PDF Viewer using below code snippet,

{% tabs %}
{% highlight html tabtitle="Standalone" %}
Expand Down
14 changes: 1 addition & 13 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Getting Started with EJ2 ASP.NET Core PDF Viewer Control | Syncfusion
description: Learn how to getting started with PDF Viewer control in ASP.NET Core application. You can view and comment on PDFs in ease and also can fill forms.
platform: ej2-asp-core-mvc
control: PDF Viewer
publishingplatform: ej2-asp-core-mvc
publishingplatform: ##Platform_Name##
documentation: ug
---

Expand Down Expand Up @@ -134,18 +134,6 @@ Press <kbd>Ctrl</kbd>+<kbd>F5</kbd> (Windows) or <kbd>⌘</kbd>+<kbd>F5</kbd> (m

N> [View Sample in GitHub](https://github.com/SyncfusionExamples/ASP-NET-Core-Getting-Started-Examples/tree/main/PDFViewer/ASP.NET%20Core%20Tag%20Helper%20Examples%20-%20Standalone%20PDF%20Viewer).

## Limitation over Server-Backed PDF Viewer to Standalone PDF Viewer control

When comparing a Standalone PDF Viewer to a Server-Backed PDF Viewer control, it's crucial to understand the limitations that the Standalone PDF Viewer may have in comparison. These limitations are important to consider

### Local File Access

* The Standalone PDF Viewer control does not have the capability to directly access and load local physical files from a user's device. As a result, it is not possible to use a documentPath to load a PDF file directly from a local server within the viewer.

* The Standalone PDF Viewer allows users to export annotations and form fields from the viewer, it's important to be aware that the viewer does not support the direct import of annotations and form fields from a locally specified file path. In other words, you can extract annotations and form fields from the viewer, but you cannot reintroduce them into the viewer from external sources by specifying a file path located on your local device.

N> These limitations are temporary and are expected to be addressed in the near future.

## See also

* [Getting Started with Syncfusion ASP.NET Core using Razor Pages](https://ej2.syncfusion.com/aspnetcore/documentation/getting-started/razor-pages/)
Expand Down
10 changes: 5 additions & 5 deletions ej2-asp-core-mvc/pdfviewer/EJ2_ASP.NETCORE/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ The following table shows built-in toolbar items and its actions:-
| UndoRedoTool | This tool provides options to undo and redo the annotation actions performed in the PDF Viewer.|
| AnnotationEditTool | This tool provides options to enable or disable the edit mode of annotation in the PDF Viewer.|

### Show/Hide the default toolbar
## Show/Hide the built-in toolbar

The PDF Viewer has an option to show or hide the complete default toolbar. You can achieve this by using following two ways.,
The PDF Viewer has an option to show or hide the complete built-in toolbar. You can achieve this by using following two ways.,

* **Show/Hide toolbar using enableToolbar API as in the following code snippet**

Expand Down Expand Up @@ -101,9 +101,9 @@ The PDF Viewer has an option to show or hide the complete default toolbar. You c
{% endhighlight %}
{% endtabs %}

### Show/Hide the default toolbaritem
## Show/Hide the built-in toolbaritem

The PDF Viewer has an option to show or hide these grouped items in the default toolbar.
The PDF Viewer has an option to show or hide these grouped items in the built-in toolbar.

* **Show/Hide toolbaritem using toolbarSettings as in the following code snippet.**

Expand Down Expand Up @@ -356,7 +356,7 @@ N> When customizing toolbar items, you have the flexibility to include either ic

## Custom Toolbar

The PDF Viewer provides API for user interactions options provided in its built-in toolbar. Using this, you can create your own User Interface for toolbar actions in application level by hiding the default toolbar. The following steps are used to create the custom toolbar for PDF Viewer:-
The PDF Viewer provides API for user interactions options provided in its built-in toolbar. Using this, you can create your own User Interface for toolbar actions in application level by hiding the built-in toolbar. The following steps are used to create the custom toolbar for PDF Viewer:-

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

Expand Down