 |
Codes
|
|
 |
|
|
|
|
|
Validation Provider 
|
Published on: Thursday, May 08, 2008
By: larsont
User Rating:
Categories: Controls, C#, Community
Users have accessed this code article 494 times.
In using windows forms I had come across the Validation Provider from Tommy Noogen at http://www.codeproject.com/KB/validation/validationprovider.aspx
I have found this to be a very useful control. I have converted it to work with VisualWebGUI
Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Terms of Agreement:
By using this code, you agree to the following terms...
- You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
- You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
- You may link to this code from another website, but ONLY if it is not wrapped in a frame.
- You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
|
| Comments |
By
HagashenNaidu @
Monday, June 23, 2008 9:06 AM
|
Well done on the Validator. Really nicely constructed and implemented. Makes things so easy. However with the sample code there is a small 'bug' the "string strMsg = validationProvider1.ValidationMessages(true);" line should be before the "if (!isValid)" line or else if both controls are put in a valid state at the same time after being invalid the icon does not get removed because the "validationProvider1.ValidationMessages(true);" never gets called. Other than that well done.
Thanks Hagashen Naidu Chillisoft Solutions hagashen@chillisoft.co.za
|
|
|
By
eriveraa @
Tuesday, July 22, 2008 11:01 AM
|
Hi Larson, i use VWG 6.1 with .NET 3.5. I add you component to the toolbox and then i drag it into my form. Then, when i click on "Edit validation Rules", i see the your designer but the Controls combo is empty!!!, Why is that..how do put the validation??. (My form has many textboxes and combos).
Any ideas??. Thanks in advance.
|
|
|
You must be logged in to post a comment. You can login here
|
|
|
|
 |
|
 |
|
|