crazyboybert
Programmer
Hi All
Having recieved no feedback on the "validate ascx seperately" thread I decided to go ahead and make a generic validator.
I've basically written a class which has a validate method that accepts a control as input. The method iterates through all child controls and validates them. It works pretty sweetly I think and should put an end to all the enabling/disabling validators or manually testing. I guess the next step is to turn it into a WebControl...
You can check out a demo and download the code if your interested at
Any feedback more than welcome.
Rob
Go placidly amidst the noise and haste, and remember what peace there may be in silence - Erhmann 1927
Having recieved no feedback on the "validate ascx seperately" thread I decided to go ahead and make a generic validator.
I've basically written a class which has a validate method that accepts a control as input. The method iterates through all child controls and validates them. It works pretty sweetly I think and should put an end to all the enabling/disabling validators or manually testing. I guess the next step is to turn it into a WebControl...
You can check out a demo and download the code if your interested at
Any feedback more than welcome.
Rob
Go placidly amidst the noise and haste, and remember what peace there may be in silence - Erhmann 1927