Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

PopupWindow.RefreshParentWindowMode Property

Specifies whether and when a parent window of this pop-up window should be refreshed.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.Web

Declaration

public RefreshParentWindowMode RefreshParentWindowMode { get; set; }

Property Value

Type Description
RefreshParentWindowMode

The RefreshParentWindowMode value that specifies whether and when a parent window of this pop-up window should be refreshed. The default value is OnAccept.

Remarks

The following example shows how to specify this property:

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Web;
// ...
public class MyController : ViewController {
    protected override void OnActivated() {
        base.OnActivated();
        PopupWindow popupWindow = Frame as PopupWindow;
        if (popupWindow != null) {
            popupWindow.RefreshParentWindowMode = 
                RefreshParentWindowMode.OnAccept | RefreshParentWindowMode.OnCancel;
        }
    }
}
See Also