Quantcast
Channel: Fluent Validation for .NET
Browsing all 1917 articles
Browse latest View live
↧

New Post: Dynamic Form Fields

I have a client requirement to build a dynamic form. I am building the form using a list of the following: public class FieldViewModel { public string FieldName { get; set; } public string FieldValue {...

View Article


Commented Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article


Commented Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article

New Post: Dynamic Form Fields

Yes, that should be possible, although you'll need to use Must rules rather than the standard length rules etc. Something like this should probably work:public class FieldModelValidator :...

View Article

Commented Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article


Commented Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article

New Post: Dynamic Form Fields

Of course! I was certainly overcomplicating the problem in my mind... Thanks for the awesome support!

View Article

New Post: Use validation on CheboxList in Asp.Net MVC4

Hi Jeremy, You haven't no idea for my answer ? Laurent

View Article


New Post: Idea for integration

This is something I'd really like to see as well. If you're using migrations, you pretty much have to use EntityTypeConfiguration's fluent api heavily to guide the migrations, otherwise you end up...

View Article


New Post: Use validation on CheboxList in Asp.Net MVC4

Hi Laurent Yes, it is certainly possible to do this kind of validation. As I mentioned before, you'll need to represent your checkbox list as part of your model. You'd then render this in your view....

View Article

Created Issue: LengthValidator validates null inputs [7133]

Most validators should not validate null input, because that condition is validated with NotNull. LengthValidator assumes a length of 0 for null, breaking the convention.I think LengthValidator should...

View Article

Commented Issue: LengthValidator validates null inputs [7133]

Most validators should not validate null input, because that condition is validated with NotNull. LengthValidator assumes a length of 0 for null, breaking the convention.I think LengthValidator should...

View Article

New Post: Comparing 2 dates

Hi , I am also getting the same error. 3.4.6 is the version i am using

View Article


Created Issue: Make inheritance of FluentValidationModelValidatorProvider...

Hi Jeremy,The FluentValidationModelValidatorProvider integration with MVC is very useful. However, if one would like to override some parts of the class it is not possible since the only overridable...

View Article

Source code checked in, #b80e6459b473e7cee43af79f924af99d433d4609

Add CreateValidator method to FluentValidationModelValidatorProvider

View Article


Commented Issue: Make inheritance of FluentValidationModelValidatorProvider...

Hi Jeremy,The FluentValidationModelValidatorProvider integration with MVC is very useful. However, if one would like to override some parts of the class it is not possible since the only overridable...

View Article

Commented Issue: Make inheritance of FluentValidationModelValidatorProvider...

Hi Jeremy,The FluentValidationModelValidatorProvider integration with MVC is very useful. However, if one would like to override some parts of the class it is not possible since the only overridable...

View Article


Source code checked in, #2f33f8c9aadc3088549977e3ea69408a191393be

Make IsValidatingProperty protected

View Article

Created Issue: MVC client-side validation of "default" rules [7135]

I've read the discussion about the magic "default" ruleset: http://fluentvalidation.codeplex.com/discussions/285831The rules are not passed to the client though, unless I use the workaround of manually...

View Article

Edited Issue: MVC client-side validation of "default" rules [7135]

I've read the discussion about the magic "default" ruleset: http://fluentvalidation.codeplex.com/discussions/285831The rules are not passed to the client though, unless I use the workaround of manually...

View Article
Browsing all 1917 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>