Table of Contents

Class ScreenPresetScreen

Namespace
Dynamicweb.CoreUI.Data.ScreenConfiguration
Assembly
Dynamicweb.CoreUI.dll
public class ScreenPresetScreen : PromptScreenBase<ScreenPresetDataModel>
Inheritance
ScreenPresetScreen
Inherited Members

Methods

BuildPromptScreen()

protected override void BuildPromptScreen()

ConfigureOkAction(RunCommandAction)

Applies post-execution behaviour to the primary command action. The default implementation adds ClosePopupAndReload with ReloadTypeOnSuccess unless a custom OnSuccess handler is already present.

protected override RunCommandAction ConfigureOkAction(RunCommandAction action)

Parameters

action RunCommandAction

The action to configure.

Returns

RunCommandAction

The configured action.

GetOkActionName()

Returns the label shown on the primary action button. Defaults to "Create".

protected override string GetOkActionName()

Returns

string

A non-empty string for the button label.

GetOkCommand()

Returns the command to execute when the user confirms the prompt. Override this method as the preferred way to wire up the submit action.

protected override CommandBase<ScreenPresetDataModel> GetOkCommand()

Returns

CommandBase<ScreenPresetDataModel>

The command to run on confirmation, or null if no command is needed.

GetScreenName()

Returns the display name shown in the screen header.

protected override string GetScreenName()

Returns

string

A non-empty string identifying this screen to the user.

To top