Annotation & search issue with .Core

The annotation and search feature is not loading or working with asp.net .core
The following was applied but still an issue
Please ensure that the scripts are referenced in this order:

<script src="~/scripts/jquery-ui.min.js"></script>

<script src="~/scripts/bootstrap.min.js"></script>

<script src="~/scripts/splitter.js"></script>
<script src="~/scripts/docViewer.js"></script>

@awakeb,

Have you tried the samples located in DoCoNut-Viewer-v01042-20230116B01\Sample Solutions\NET Core?

I have tried both:

For search feature, you need these libraries:


    <script src="~/scripts/jquery.min.js"></script>
    <script src="~/scripts/bootstrap.min.js"></script>

    <script src="~/scripts/splitter.js"></script>
    <script src="~/scripts/docViewer.js"></script>
    <script src="~/scripts/documentLinks.js"></script>
    <script src="~/scripts/search.js"></script>
    <script src="~/scripts/search.UI.js"></script>

For annotations feature, you need these libraries:


    <script src="~/scripts/jquery.min.js"></script>
    <script src="~/scripts/jquery-ui.min.js"></script>

    <script src="~/scripts/bootstrap.min.js"></script>

    <script src="~/scripts/splitter.js"></script>
    <script src="~/scripts/docViewer.js"></script>
    <script src="~/scripts/documentLinks.js"></script>

    <script src="~/scripts/annotation.js"></script>
    <script src="~/scripts/raphael.js"></script>
    <script src="~/scripts/annotation-helper.js"></script>

Be sure you don’t repeat the libraries in the code. You can use the sample projects as reference.

Please, let me know how it goes.

Thanks Gabriel, I still didn’t have success in getting the annotation and search to work.
I am using ver 1.0.4.1, I wonder if I can try the new version it will help and if yes, where I can get the latest version?

@awakeb,

The last version is 1.0.4.2. If you wish to obtain the latest version, you can request a new trial from our website at:

The only thing that changes with the trial is the license provided in the trial. The DLL is the same.

Included in the trial package is the project I mentioned in my prior post. You can use it as a reference.

Let me know if you have other questions related to the viewer.