asp.net-mvc-2-validation
How come module-level validators are evaluated only after property-level validators?
I\'m using the module-level validator: \'PropertiesMustMatch\' on my view-model, like so: [PropertiesMustMatch(\"Password\", \"PasswordConfirm\")][详细]
2023-01-01 07:21 分类:问答asp.net mvc 2 validating text inputs on modal windows
i am tasked with the job of creating client-side validation on a form in an asp.net MVC 2 application, which has a modal window (the modal exists as part of the wrapping form, it is not a form unto it[详细]
2022-12-30 10:43 分类:问答ASPNET MVC - Why is ModelState.IsValid false "The x field is required" when that field does have a value?
I have a model like this: public PurchaseOrder { [Required] [StringLength(15)] public virtual string OrderNumber {get;set;}[详细]
2022-12-29 08:01 分类:问答ASP.NET MVC 2 "value" in IsValid override in DataAnnotation attribute passed is null, when incorrect date is submitted
This is my first question here on stack overflow. i need help on a problem i encountered during an ASP.NET MVC2 project i am currently working on.[详细]
2022-12-28 14:54 分类:问答MVC: On partial page start validation from JS without postback
How do I start validation from the client/javascript using the MS MVC Validation library? Using MS ASP.Net MVC, I have a page with a PartialView in a modal dialog (change password).When the user sele[详细]
2022-12-26 15:09 分类:问答MVC2 ValidationSummary and Client side Validation
I want to have the ValidationSummary errors displayed during Client Side valid开发者_运维百科ation. Currently the validation messages are only appears next to the field during client side validation.[详细]
2022-12-26 14:08 分类:问答ASP.NET MVC 2.0 Validation and ErrorMessages
I need to set the ErrorMessage property of the DataAnnotation\'s validation attribute in MVC 2.0. For example I should be able to pass an ID instead of the actual error message for the Model property,[详细]
2022-12-26 08:04 分类:问答ASP MVC2 model binding issue on POST with strongly-typed HTML helpers
So I\'m looking at moving from MVC 1.0 to MVC 2.0 RTM.One of the conventions I\'d like to start following is using the strongly-typed HTML helpers for generating controls like text boxes.[详细]
2022-12-26 01:53 分类:问答ASP.MVC 2 RTM + ModelState Error at Id property
I have this classes: public class GroupMetadata { [HiddenInput(DisplayValue = false)] public int Id { get; set; }[详细]
2022-12-25 20:34 分类:问答ASP.NET MVC 2 JQuery POST not displaying the model state errors
I have been using asp.net mvc for a bit (but I\'m still a beginer).I want to have the ability to update two views as a result of a jquery postback.[详细]
2022-12-25 12:02 分类:问答