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