ValidationExtensions.ValidationSummary Método

Definición

Sobrecargas

ValidationSummary(HtmlHelper, String, Object, String)
ValidationSummary(HtmlHelper, String, IDictionary<String,Object>, String)
ValidationSummary(HtmlHelper, Boolean, String, String)
ValidationSummary(HtmlHelper, Boolean, String, Object)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

ValidationSummary(HtmlHelper, String, String)
ValidationSummary(HtmlHelper, String, Object)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación en el ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, String, IDictionary<String,Object>)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, Boolean, String)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

ValidationSummary(HtmlHelper, String)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, Boolean)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

ValidationSummary(HtmlHelper)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto .

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>, String)
ValidationSummary(HtmlHelper, Boolean, String, Object, String)

ValidationSummary(HtmlHelper, String, Object, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, object htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * obj * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As Object, headingTag As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper
message
String
htmlAttributes
Object
headingTag
String

Devoluciones

Se aplica a

ValidationSummary(HtmlHelper, String, IDictionary<String,Object>, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * System.Collections.Generic.IDictionary<string, obj> * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As IDictionary(Of String, Object), headingTag As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper
message
String
htmlAttributes
IDictionary<String,Object>
headingTag
String

Devoluciones

Se aplica a

ValidationSummary(HtmlHelper, Boolean, String, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, headingTag As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
headingTag
String

Devoluciones

Se aplica a

ValidationSummary(HtmlHelper, Boolean, String, Object)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, object htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As Object) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

excludePropertyErrors
Boolean

Es true para que el resumen muestre únicamente los errores de nivel de modelo o es false para que el resumen muestre todos los errores.

message
String

Mensaje que se va a mostrar con el resumen de validación.

htmlAttributes
Object

Un objeto que contiene los atributos HTML del elemento.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

excludePropertyErrors
Boolean

Es true para que el resumen muestre únicamente los errores de nivel de modelo o es false para que el resumen muestre todos los errores.

message
String

Mensaje que se va a mostrar con el resumen de validación.

htmlAttributes
IDictionary<String,Object>

Un diccionario que contiene los atributos HTML que se van a establecer para el elemento.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, String, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, headingTag As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper
message
String
headingTag
String

Devoluciones

Se aplica a

ValidationSummary(HtmlHelper, String, Object)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación en el ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, object htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As Object) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

message
String

Mensaje que se va a mostrar si el campo especificado contiene un error.

htmlAttributes
Object

Un objeto que contiene los atributos HTML del elemento.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, String, IDictionary<String,Object>)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

message
String

Mensaje que se va a mostrar si el campo especificado contiene un error.

htmlAttributes
IDictionary<String,Object>

Un diccionario que contiene los atributos HTML que se van a establecer para el elemento.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, Boolean, String)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

excludePropertyErrors
Boolean

Es true para que el resumen muestre únicamente los errores de nivel de modelo o es false para que el resumen muestre todos los errores.

message
String

Mensaje que se va a mostrar con el resumen de validación.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, String)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, string message);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, message As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HMTL que extiende este método.

message
String

Mensaje que se va a mostrar si el campo especificado contiene un error.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, Boolean)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto y, opcionalmente, muestra solo los errores de nivel de modelo.

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

excludePropertyErrors
Boolean

Es true para que el resumen muestre únicamente los errores de nivel de modelo o es false para que el resumen muestre todos los errores.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper)

Devuelve una lista desordenada (elemento ul) de los mensajes de validación que se encuentran en el ModelStateDictionary objeto .

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper);
static member ValidationSummary : System.Web.Mvc.HtmlHelper -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper

Instancia del asistente HTML que extiende este método.

Devoluciones

Una cadena que contiene una lista desordenada (elemento ul) de los mensajes de validación.

Se aplica a

ValidationSummary(HtmlHelper, Boolean, String, IDictionary<String,Object>, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, System.Collections.Generic.IDictionary<string,object> htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * System.Collections.Generic.IDictionary<string, obj> * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As IDictionary(Of String, Object), headingTag As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
htmlAttributes
IDictionary<String,Object>
headingTag
String

Devoluciones

Se aplica a

ValidationSummary(HtmlHelper, Boolean, String, Object, String)

public static System.Web.Mvc.MvcHtmlString ValidationSummary (this System.Web.Mvc.HtmlHelper htmlHelper, bool excludePropertyErrors, string message, object htmlAttributes, string headingTag);
static member ValidationSummary : System.Web.Mvc.HtmlHelper * bool * string * obj * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValidationSummary (htmlHelper As HtmlHelper, excludePropertyErrors As Boolean, message As String, htmlAttributes As Object, headingTag As String) As MvcHtmlString

Parámetros

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
htmlAttributes
Object
headingTag
String

Devoluciones

Se aplica a