THEMES
THEME SETTINGS

Dock and Modal Popups - Popup Window Load Content on Demand

Show Popup Window

The DevExpress MVC PopupControl extension 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.

  • Default - 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

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: v2017 vol 1.6
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.