HtmlHelperExtensions.AlertMessages Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

AlertMessages(HtmlHelper, bool)

Renders alert messages that are stored in TempData.

public static MvcHtmlString AlertMessages(this HtmlHelper helper, bool inline = false)

Parameters

helper
System.Web.Mvc.HtmlHelper
inline
bool

true to render inline alerts, or false to render AlertModel messages where the IsInline property is false.

Returns

System.Web.Mvc.MvcHtmlString