Free Trial Buy Now

Popup Control - Load Content on Demand

Show Popup Window

Description

The ASPxPopupControl has a capability to load the content of popup windows on demand. Several content loading modes are available via the following settings of the LoadContentViaCallback property:

  • None - The content is always (initially) rendered inside popup windows (the default behavior).
  • OnPageLoad - Loading of popup window contents starts immediately after the entire page has been loaded.
  • OnFirstShow - Loading of popup window contents starts when a popup window is invoked for the first time.

Using the postponed load of popup window contents, you can enhance the response time of your web page on its initial load. You can also update the content of popup windows programmatically, on demand.

Note that in this example we purposely pause callback processing on the server side for a second in order to make the Loading Panel visible during this time.

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.