>>>I am wanting to call my Business Rules when I leave a control on a web form. I've found an example in the help for winforms, is there a similar example for web forms as I am so far not having success in adapting the sample.
>>Have you tried executing the form's Save method? I'm not using web forms but it seems like that might accomplish what you need.
>
>Hi Linda,
>
>I don't want to save the data at this point in time. I just want to do the validation at the point where the user enters data in a particular field as well as at the point where the data gets saved.
Frank,
You can call your business rules yourself anytime you want to. You may want to consider however that with a web form this may cause a post back each time. You will need to trigger a post back and then you can get to your rules object via the business object and you can call the validation methods you have there individually. Is your plan to check the rule for each control as they leave it? What will you do if the rule is broken?
Tim
Timothy Bryan