Back to Devexpress

Popup Control Templates

aspnetmvc-10405-components-docking-and-popups-popup-control-templates.md

latest1.9 KB
Original Source

Popup Control Templates

  • Feb 02, 2023

Templates allow you to fully customize the appearance and layout of the MVC Popup Extension. The extension allows you to create templates for its popup window headers, contents and footers. Templates can be defined at the extension level and at the window level at the same time. In this case, templates created at a window level take precedence over templates created at an extension level.

The table below lists the members used to create templates.

Window level templatesExtension level templates
Window header templateMVCxPopupWindow.SetHeaderTemplateContentPopupControlSettings.SetWindowHeaderTemplateContent
Window content templateMVCxPopupWindow.SetContentTemplateContentPopupControlSettings.SetWindowContentTemplateContent
Window footer templateMVCxPopupWindow.SetFooterTemplateContentPopupControlSettings.SetWindowFooterTemplateContent

Online demos