Skip to content

Dmitry-Duda/filemanager-open-pdf-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The file manager for Web Forms - How to open PDF files and images in a pop-up window

This example uses an ASPxFileManager to display folder contents. Users can click image and PDF files to preview their content in a pop-up window. The preview functionality uses the ASPxPopupControl, ASPxImage, and ASPxPanel controls.

Sample

Files to Look At

Implementation Details

The ASPxFileManager displays a list of image and PDF files. When users attempt to open a file, the control raises the ASPxFileManager.SelectedFileOpened event. The handler determines the file type and shows the preview.

The handler activates the ASPxPopupControl and displays one of the following embedded controls depending on the file type:

Documentation

ASPxImage Class

ASPxFileManager Class

ASPxPanel Class

Recommended way to embed PDF in HTML - Stack Overflow

About

.NET ASP.NET Web Forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ASP.NET 47.2%
  • Visual Basic .NET 26.5%
  • C# 26.3%