WeavyController.Alert Method

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

Overloads

Alert(AlertModel) Injects an alert message to be displayed on next page load.
Alert(AlertType, String) Injects an alert message to be displayed on next page load.
Alert(AlertType, String, Boolean, Boolean, Boolean, Boolean) Injects an alert message to be displayed on next page load.
Alert(ModelStateDictionary) Injects an validation alert to be displayed on next page load.
Alert(String) Injects an success message to be displayed on next page load.

Alert(AlertModel)

Injects an alert message to be displayed on next page load.

public void Alert(AlertModel alert)

Parameters

alert
AlertModel

Alert(AlertType, String)

Injects an alert message to be displayed on next page load.

public void Alert(AlertType type, string message)

Parameters

type
AlertType
message
System.String

Alert(AlertType, String, Boolean, Boolean, Boolean, Boolean)

Injects an alert message to be displayed on next page load.

public void Alert(AlertType type, string message, bool dismissible = true, bool sticky = false, bool html = false, bool inline = false)

Parameters

type
AlertType
message
System.String
dismissible
System.Boolean
sticky
System.Boolean
html
System.Boolean
inline
System.Boolean

Alert(ModelStateDictionary)

Injects an validation alert to be displayed on next page load.

public void Alert(ModelStateDictionary modelState)

Parameters

modelState
System.Web.Mvc.ModelStateDictionary

Alert(String)

Injects an success message to be displayed on next page load.

public void Alert(string message)

Parameters

message
System.String