This demo illustrates the ability of the DevExpress DataView extension to bind to a data source. In this sample, the extension is bound to the XmlDataSource component, which obtains data from an xml file with the following structure.
<Contact Name="..." Address="..." Phone ="..." PhotoUrl ="..." />
The appearance of DataView data items is templated utilizing the SetItemTemplateContent method.
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).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxImageAndDataNavigationDemos