Click here to Skip to main content
14,643,840 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi,
I m using Noogen.validation.dll in desktop application.
I have no any errors at compile time or execution time but problem that the validation rules applied are not getting working. even though validation method called thr button click event.following is below code used to call.
private void buttonEdit_Click(object sender, EventArgs e)
{
this.validationProvider1.ValidationMessages(
!this.validationProvider1.Validate());
}

i don't want to use custom validation.
please provide me quick help..
Posted
Updated 8-May-17 20:12pm
v2

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

See the article - Validators for Windows Forms - ValidationProvider Control[^].

Download the project and see how it is working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100