Skip to content

Commit 63ce21a

Browse files
980143: Updated script reference properly
1 parent 3b8068d commit 63ce21a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

How to/Line Angle Constraint/PDFViewer/Views/Home/Index.cshtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
@Html.EJS().PdfViewer("pdfviewer").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").Render()
99
</div>
1010

11+
<!-- Ensure necessary Syncfusion scripts and styles are included -->
12+
<script src="https://cdn.syncfusion.com/ej2/31.1.17/dist/ej2.min.js"></script>
1113
<script type="text/javascript">
1214
window.onload = function () {
1315
var viewer = document.getElementById('pdfviewer').ej2_instances[0];

How to/Line Angle Constraint/PDFViewer/Views/Shared/_Layout.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<title>@ViewBag.Title - My ASP.NET Application</title>
1212
@Styles.Render("~/Content/css")
1313
@Scripts.Render("~/bundles/modernizr")
14-
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/30.2.7/tailwind.css" />
15-
<script src="~/Content/ej2/ej2.min.js"></script>
14+
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/31.1.7/tailwind.css" />
15+
<script src="https://cdn.syncfusion.com/ej2/31.1.17/dist/ej2.min.js"></script>
1616
</head>
1717
<body>
1818
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-dark bg-dark">

0 commit comments

Comments
 (0)