Skip to main content

PopupControlSettingsBase.ShowOnPageLoad Property

Gets or sets a value that specifies whether the default popup window (for PopupControl extension) or a dock panel (for DockPanel extension) is automatically displayed when a client browser loads the page.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool ShowOnPageLoad { get; set; }

Property Value

Type Description
Boolean

true if the element is displayed on the page load; otherwise, false.

Remarks

Note

For PopupControl only:

If the PopupControlSettings.Windows collection is not empty, the ShowOnPageLoad property is not in effect and cannot be used to specify the common page load behavior for all popup windows. In this case, use the PopupWindow.ShowOnPageLoad property of individual popup windows from the collection.

See Also