PopupWindow.ShowRefreshButton Property
Gets or sets a value that specifies whether a window’s refresh button is displayed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v21.2.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ShowRefreshButton { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default | true, if the button is displayed; otherwise, false. |
Available values:
Name | Description |
---|---|
True |
|
False |
|
Default | The default behavior determined by the control’s logic. |
Remarks
Use the ShowRefreshButton property to control the refresh button visibility. The refresh button can work in two different ways:
If the PopupWindow.ContentUrl property is not specified, the window performs a callback, so the ASPxPopupControlBase.WindowCallback event is raised.
If the PopupWindow.ContentUrl property is specified, the window refreshes the page inside the iframe.
If the ShowRefreshButton property is set to default, the refresh button visibility is determined by the ASPxPopupControlBase.ShowRefreshButton property.