Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Controllers.ControllerImpl.Reload Method

Returns an action result, indicating that the submission was successfully processed, causing a page or module reload, optionally with a popup message.

Class: YetaWF.Core.Controllers.ControllerImpl
Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core

Syntax

protected ActionResult Reload(
    object? model = null,
    int dummy = 0,
    string? PopupText = null,
    string? PopupTitle = null,
    ReloadEnum Reload = ReloadEnum.Page );

Parameters

model

The model.

dummy

Dummy variable to separate positional arguments from named arguments.

PopupText

The optional text of the popup message to be displayed. If not specified, no popup will be shown.

PopupTitle

The optional title of the popup message to be displayed. If not specified, the default is "Success".

Reload

The method with which the current page or module is processed, i.e., by reloading the page or module.

See Also YetaWF.Core.Controllers.ControllerImpl ClassYetaWF.Core Overview