Change Theme Settings
Change Theme Settings
Show All Themes

Photo Gallery

Click a photo to enlarge it.

This demo illustrates how to create a photo gallery using the DevExpress ASP.NET Image Slider (ASPxImageSlider).

Photos are displayed in the table using the ASP.NET Data View (ASPxDataView) control. Click a photo to open a popup window containing a photo gallery. The gallery is implemented using the ASPxImageSlider control. Users can view photos using special navigation buttons or by a swipe gesture within the image slider. Additionally, the demo shows how to provide key support for the gallery: press the Space bar to see the next photo, or press the Escape key to close the gallery and return to the data view table.

Additionally, this demo shows how to create a link to a specific photo. For this purpose, the ActiveItemChanged client-side event is handled. In the event handler, we add an anchor to the current image link, allowing you to get the URL to the current image from a browser address bar.

Note that the image gallery functionality is built into the Image Gallery control.