Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Photo Gallery

Click a photo to enlarge it.

1 68063914 1
2 68063914 11
4 68063914 4
5 93995416
68063914 10
68063914 12
68063914 14
68063914 15
68063914 3
68063914 6
68063914 7
68063914 9
6 68063914 2
96 25968844

This demo demonstrates how to create a photo gallery using the Image Slider.

Photos are displayed in a table using our DataView. Click a photo to open a popup window containing photo gallery. The gallery is implemented using the ImagerSlider extension. Users can view photos using the special navigation buttons or by swipe gesture within the image slider. Additionally, the demo demonstrates how to provide the key support for the gallery: press the Space to see the next photo or press the ESCAPE to close the gallery and return to the data view table.

The ActiveItemChanged client-side event is handled to add an anchor to the current image link. Thereby the demo shows how to create a link to the particular photo. So you can get the url to the current image from an address bar.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxImageAndDataNavigationDemos