[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
   Reporting
  [Expand]Charting
  [Expand]Pivot Grid
   Spreadsheet
   Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Collapse]Docking and Popups
   [Expand]Docking
   [Expand]Hint
   [Expand]Loading Panel
   [Collapse]Popup Control
    [Collapse]Concepts
      Binding to Data
      Templates
    [Expand]Visual Elements
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Templates

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 templates Extension level templates
Window header template MVCxPopupWindow.SetHeaderTemplateContent PopupControlSettings.SetWindowHeaderTemplateContent
Window content template MVCxPopupWindow.SetContentTemplateContent PopupControlSettings.SetWindowContentTemplateContent
Window footer template MVCxPopupWindow.SetFooterTemplateContent PopupControlSettings.SetWindowFooterTemplateContent

Expanded Online demos

Is this topic helpful?​​​​​​​