This demo illustrates the use of templates within the DevExpress MVC PopupControl extension.
Templates allow you to fully customize the appearance and layout of control elements. The MVC Popup extension allows you to specify templates for its popup window headers and footers, via the SetHeaderTemplateContent and SetFooterTemplateContent methods. In this demo, the Help and Close buttons are added to the window header. The window footer is extended with a label (which is displayed or hidden in response to Help button clicks) and a color palette (which allows users to change the background color of the window's content region).
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\MVCxDockAndPopupsDemos