ValidationExtensions.ValidationSummary Metodo

Definizione

Overload

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

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

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

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

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

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida nell'oggetto ModelStateDictionary .

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

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary .

ValidationSummary(HtmlHelper, Boolean, String)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

ValidationSummary(HtmlHelper, String)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary .

ValidationSummary(HtmlHelper, Boolean)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

ValidationSummary(HtmlHelper)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary .

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

Parametri

htmlHelper
HtmlHelper
message
String
htmlAttributes
Object
headingTag
String

Restituisce

Si applica 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

Parametri

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

Restituisce

Si applica 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

Parametri

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
headingTag
String

Restituisce

Si applica a

ValidationSummary(HtmlHelper, Boolean, String, Object)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

excludePropertyErrors
Boolean

true per visualizzare solo gli errori a livello di modello o false per visualizzare tutti gli errori di riepilogo.

message
String

Messaggio da visualizzare con il riepilogo di convalida.

htmlAttributes
Object

Oggetto che contiene gli attributi HTML per l'elemento.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica a

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

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

excludePropertyErrors
Boolean

true per visualizzare solo gli errori a livello di modello o false per visualizzare tutti gli errori di riepilogo.

message
String

Messaggio da visualizzare con il riepilogo di convalida.

htmlAttributes
IDictionary<String,Object>

Dizionario contenente gli attributi HTML per l'elemento.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica 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

Parametri

htmlHelper
HtmlHelper
message
String
headingTag
String

Restituisce

Si applica a

ValidationSummary(HtmlHelper, String, Object)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida nell'oggetto ModelStateDictionary .

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

message
String

Messaggio da visualizzare se il campo specificato contiene un errore.

htmlAttributes
Object

Oggetto che contiene gli attributi HTML per l'elemento.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica a

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

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary .

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

message
String

Messaggio da visualizzare se il campo specificato contiene un errore.

htmlAttributes
IDictionary<String,Object>

Dizionario contenente gli attributi HTML per l'elemento.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica a

ValidationSummary(HtmlHelper, Boolean, String)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

excludePropertyErrors
Boolean

true per visualizzare solo gli errori a livello di modello o false per visualizzare tutti gli errori di riepilogo.

message
String

Messaggio da visualizzare con il riepilogo di convalida.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica a

ValidationSummary(HtmlHelper, String)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary .

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HMTL estesa da questo metodo.

message
String

Messaggio da visualizzare se il campo specificato contiene un errore.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica a

ValidationSummary(HtmlHelper, Boolean)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary e, facoltativamente, visualizza solo errori a livello di modello.

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

excludePropertyErrors
Boolean

true per visualizzare solo gli errori a livello di modello o false per visualizzare tutti gli errori di riepilogo.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica a

ValidationSummary(HtmlHelper)

Restituisce un elenco non ordinato (elemento ul) dei messaggi di convalida presenti nell'oggetto ModelStateDictionary .

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

Parametri

htmlHelper
HtmlHelper

Istanza dell'helper HTML estesa da questo metodo.

Restituisce

Stringa contenente un elenco non ordinato (elemento ul) di messaggi di convalida.

Si applica 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

Parametri

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

Restituisce

Si applica 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

Parametri

htmlHelper
HtmlHelper
excludePropertyErrors
Boolean
message
String
htmlAttributes
Object
headingTag
String

Restituisce

Si applica a