From ac9ce3cd692f5c13a7373a79dd861a009242c790 Mon Sep 17 00:00:00 2001 From: CCMKarthik123 Date: Fri, 23 Aug 2024 20:14:35 +0530 Subject: [PATCH 1/3] Resolved typo issue and upgraded to the latest version --- .../Controllers/HomeController.cs | 10 +++- .../PDFViewerSample.csproj | 58 ++++++++++++++++--- .../Views/Shared/_Layout.cshtml | 4 +- .../ASP.NET MVC Razor Examples/Web.config | 12 ++-- .../packages.config | 8 +-- 5 files changed, 70 insertions(+), 22 deletions(-) diff --git a/PDFViewer/ASP.NET MVC Razor Examples/Controllers/HomeController.cs b/PDFViewer/ASP.NET MVC Razor Examples/Controllers/HomeController.cs index cc93019..dac1ea7 100644 --- a/PDFViewer/ASP.NET MVC Razor Examples/Controllers/HomeController.cs +++ b/PDFViewer/ASP.NET MVC Razor Examples/Controllers/HomeController.cs @@ -232,6 +232,8 @@ public class jsonObjects { public string document { get; set; } public string password { get; set; } + public bool isClientsideLoading { get; set; } + public string organizePages { get; set; } public string zoomFactor { get; set; } public string isFileName { get; set; } public string xCoordinate { get; set; } @@ -264,7 +266,8 @@ public class jsonObjects public string freeTextAnnotation { get; set; } public string signatureData { get; set; } public string fieldsData { get; set; } - public string FormDesigner { get; set; } + public string formDesigner { get; set; } + public bool isSignatureEdited { get; set; } public string inkSignatureData { get; set; } public bool hideEmptyDigitalSignatureFields { get; set; } public bool showDigitalSignatureAppearance { get; set; } @@ -275,9 +278,10 @@ public class jsonObjects public string annotationCollection { get; set; } public string annotationsPageList { get; set; } public string formFieldsPageList { get; set; } - public string isAnnotationsExist { get; set; } - public string isFormFieldAnnotationsExist { get; set; } + public bool isAnnotationsExist { get; set; } + public bool isFormFieldAnnotationsExist { get; set; } public string documentLiveCount { get; set; } public string annotationDataFormat { get; set; } + } } \ No newline at end of file diff --git a/PDFViewer/ASP.NET MVC Razor Examples/PDFViewerSample.csproj b/PDFViewer/ASP.NET MVC Razor Examples/PDFViewerSample.csproj index f307682..ee4d784 100644 --- a/PDFViewer/ASP.NET MVC Razor Examples/PDFViewerSample.csproj +++ b/PDFViewer/ASP.NET MVC Razor Examples/PDFViewerSample.csproj @@ -45,24 +45,24 @@ 4 - + packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll - - packages\Syncfusion.Pdf.AspNet.Mvc5.20.1.0.55\lib\net45\Syncfusion.Compression.Base.dll + + packages\Syncfusion.Pdf.AspNet.Mvc5.26.2.10\lib\net45\Syncfusion.Compression.Base.dll - - packages\Syncfusion.EJ2.MVC5.20.1.0.55\lib\net45\Syncfusion.EJ2.dll + + packages\Syncfusion.EJ2.MVC5.26.2.10\lib\net45\Syncfusion.EJ2.dll packages\Syncfusion.EJ2.PdfViewer.AspNet.Mvc5.20.1.0.55\lib\net45\Syncfusion.EJ2.PdfViewer.dll - - packages\Syncfusion.Pdf.AspNet.Mvc5.20.1.0.55\lib\net45\Syncfusion.Licensing.dll + + packages\Syncfusion.Pdf.AspNet.Mvc5.26.2.10\lib\net45\Syncfusion.Licensing.dll - - packages\Syncfusion.Pdf.AspNet.Mvc5.20.1.0.55\lib\net45\Syncfusion.Pdf.Base.dll + + packages\Syncfusion.Pdf.AspNet.Mvc5.26.2.10\lib\net45\Syncfusion.Pdf.Base.dll @@ -141,10 +141,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Web.config @@ -165,11 +196,20 @@ + + + + + + + + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/PDFViewer/ASP.NET MVC Razor Examples/Views/Shared/_Layout.cshtml b/PDFViewer/ASP.NET MVC Razor Examples/Views/Shared/_Layout.cshtml index 8f88499..0fa1152 100644 --- a/PDFViewer/ASP.NET MVC Razor Examples/Views/Shared/_Layout.cshtml +++ b/PDFViewer/ASP.NET MVC Razor Examples/Views/Shared/_Layout.cshtml @@ -5,8 +5,8 @@ @ViewBag.Title - My ASP.NET Application @Styles.Render("~/Content/css") - - + +