We have demonstrated how to load, view a single PDF file on the html web page using EdgePDF in ASP.NET.
Here we will show how to embed two EdgePDF pdf viewer in one html web page to view two PDF documents on one web page using ASP.NET C#.
How to open, view PDF file in a modal popup window in web browser
6. Copy the folder "/DemoProjects/EdgePDF Demo Project/RasterEdge_Resource_Files" and all its contents to the sample project.
7. Add new entries to the Web.config file.
Insert the following contents to tag <appSettings>:
<!-- the cache folder --><addkey="reCacheFolder"value="RasterEdge_Cache"/><addkey="reCustomStampFolder"value="RasterEdge_Resource_Files/images/stamp"/><!-- set the server folder if you want to open the file on server--><addkey="reDefaultFolder"value="RasterEdge_Demo_Docs"/><!-- set the default file when open the web first time,if set "" ,this function is disabled. (reDefaultFolder needed) --><addkey="reDefaultFilePath"value=""/><!-- image quality in PDF document --><addkey="rePageImageZoom"value="2"/><addkey="reImageZoom"value="2"/><!-- image annotation in PDF document --><addkey="reAnnotationImageZoom"value="2"/><!-- write log --><addkey="reOutputLogData"value="true"/><!-- if true, SDK will automatically convert many shape and path inside PDF page into image--><!-- default is false --><!-- DEBUG ,INFO ,WARNING,ERROR --><addkey="reLogLevel"value="DEBUG"/><addkey="reWDPFileCacheMaxLimit"value="0"/><addkey="reIntelliDrawShapesToImage"value="true"/><!-- if reIntelliDrawShapesToImage is true, --><!-- valid values are: "all", "firefox", "chrome", "ie", "edge", "salari", "others" if "all" included, ignore the rest; default is "all" --><addkey="reIntelliDrawShapesToImageSupportBrowsers"value="all"/><!-- set the type of the show page. Valid values: svg, png,html Default: svg --><addkey="reDocRenderEngine"value="svg"/><addkey="reRestfulFolder"value="c:/RasterEdge_Restful"/><addkey="reI18NFolder"value="/RasterEdge_Resource_Files/i18n/"/><addkey="reServerURL"value=""/><!-- set the domain for remote client--><!-- If true, SDK will automatically call ... after file has been uploaded. Deafult: false. --><addkey="autoProcessWholeDocument"value="false"/><!-- If true, SDK will automatically call ... after file has been uploaded. Default: false. --><addkey="autoIndexTextSearchWholeDocument"value="false"/>
Insert the following contetns to tag <system.webServer>: