Click or drag to resize

ControllerStandardDataItemClassIndexOnActionResultPostCase Method

Not implemented is for spezification Post.

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
protected virtual ActionResult IndexOnActionResultPostCase(
	string pSubmit
)

Parameters

pSubmit
Type: SystemString
Toolbar Button Value

Return Value

Type: ActionResult

[Missing <returns> documentation for "M:SOWIWeb.Helper.ControllerStandard`1.IndexOnActionResultPostCase(System.String)"]

Examples
This example redirect to action Sight from Map controller
protected override ActionResult IndexOnActionResultPostCase(string pSubmit)
{
    switch (pSubmit)
    {
        case "MapSight":
            return RedirectToAction("Sight", "Map");
        default:
            throw new NotImplementedException();
    }
}
This example handling Back submit - redirect to action Index (data list)
protected override ActionResult IndexOnActionResultPostCase(string pSubmit)
{
    switch (pSubmit)
    {
        case "Back":
            return RedirectToAction("Index", "Ticket");
        default:
            return base.IndexOnActionResultPostCase(pSubmit);
    }
}
See Also