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 |
---|---|
Refresh |
The Refresh |
Available values:
Name | Description |
---|---|
None | Popup |
On |
Popup |
On |
Popup |
#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;
}
}
}