Skip to content

905903: updated the samples for Customize existing toolbar in both Standalone and Server-Backed #66

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 1 commit into from
Jun 12, 2025
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

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34221.43
VisualStudioVersion = 17.9.34728.123
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PDFViewerSample", "PDFViewerSample\PDFViewerSample.csproj", "{14D0976C-0D5C-4F75-B5B3-68FB1C9AB17A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ToolbarCustomization", "ToolbarCustomization\ToolbarCustomization.csproj", "{98BE0BE2-3AAC-49EE-99AF-26D642E48940}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{14D0976C-0D5C-4F75-B5B3-68FB1C9AB17A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{14D0976C-0D5C-4F75-B5B3-68FB1C9AB17A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{14D0976C-0D5C-4F75-B5B3-68FB1C9AB17A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{14D0976C-0D5C-4F75-B5B3-68FB1C9AB17A}.Release|Any CPU.Build.0 = Release|Any CPU
{98BE0BE2-3AAC-49EE-99AF-26D642E48940}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{98BE0BE2-3AAC-49EE-99AF-26D642E48940}.Debug|Any CPU.Build.0 = Debug|Any CPU
{98BE0BE2-3AAC-49EE-99AF-26D642E48940}.Release|Any CPU.ActiveCfg = Release|Any CPU
{98BE0BE2-3AAC-49EE-99AF-26D642E48940}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E5DAA405-B48B-44EA-8892-A076D26C432C}
SolutionGuid = {284420A6-F4BA-4342-9222-A45E7BA64AC2}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Web;
using System.Web.Optimization;

namespace PDFViewerSample
namespace WebApplication1
{
public class BundleConfig
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Web;
using System.Web.Mvc;

namespace PDFViewerSample
namespace WebApplication1
{
public class FilterConfig
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Web.Mvc;
using System.Web.Routing;

namespace PDFViewerSample
namespace WebApplication1
{
public class RouteConfig
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net;
using System.Reflection;
using System.Web;
using System.Web.Mvc;

namespace GettingStartedMVC.Controllers
namespace ToolbarCustomization.Controllers
{
public class CustomToolbarItems
{
public CustomToolbarItems() { }
public List<object> ToolbarItems { get; set; }

}
public class HomeController : Controller
{
[System.Web.Mvc.HttpPost]
Expand Down Expand Up @@ -252,13 +258,16 @@ public class jsonObjects
public string uniqueId { get; set; }
public string data { get; set; }
public string viewPortWidth { get; set; }
public string viewportHeight { get; set; }
public string viewPortHeight { get; set; }
public string tilecount { get; set; }
public string isCompletePageSizeNotReceived { get; set; }
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 string inkSignatureData { get; set; }
public string tileXCount { get; set; }
public string tileYCount { get; set; }
public bool digitalSignaturePresent { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.MvcApplication" Language="C#" %>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Web.Optimization;
using System.Web.Routing;

namespace PDFViewerSample
namespace WebApplication1
{
public class MvcApplication : System.Web.HttpApplication
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PDFViewerSample")]
[assembly: AssemblyTitle("WebApplication1")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("PDFViewerSample")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyProduct("WebApplication1")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -20,7 +20,7 @@
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1e0f8a05-2fee-4eba-9353-fd340b3c7187")]
[assembly: Guid("3b7cd9a9-285b-4ee6-9769-292bd0c20a0d")]

// Version information for an assembly consists of the following four values:
//
Expand Down
Loading