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.
-
Default.aspx (VB: Default.aspx)
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:
