Free Trial Buy Now

Popup Control - Templates

Click here to invoke a popup window

Description

This sample demonstrates the use of the template technology within the ASPxPopupControl. The look of header and footer elements of a popup control's window can be completely modified by creating a specific template which defines how the corresponding window element will be rendered by a client browser.

The template types provided by the ASPxPopupControl and supplemented with the ability to define the contents of the control's window (by using the Controls property or the client SetWindowContentHTML method) allow you to completely customize the popup window's appearance and layout. In this demo, the default popup window functionality is enhanced by specific Help and Close buttons placed in the window's header by using a HeaderTemplate type template. The FooterTemplate type template is used to define the color palette (that allows the background color of the window's content to be changed) and display text (which is displayed or hidden dynamically in response to a click on the Help button).

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.