Hi
If you validate in the properties of a business object and there is an
error how do you set a forms error provider for the properties error?
Many thanks
Julian
Hi
If you validate in the properties of a business object and there is an
error how do you set a forms error provider for the properties error?
Many thanks
Julian
You need to provide some more "context" for this question.
Are you using a certain framework? (Not "dotnet" , but a certain kind of
business object framework).
"Julian" <julian@xxxxxx> wrote in message
news:eAYoKzZkJHA.2384@xxxxxx
> Hi
>
> If you validate in the properties of a business object and there is an
> error how do you set a forms error provider for the properties error?
>
> Many thanks
>
> Julian
>
Rather than validating on the form I wish to validate in the class property
setters and if the validation is not true set the error provider on the
appropriate control on the form with an error message. I am not using any
particular framework but just building the classes myself Is there common
way of doing this?
Julian
"sloan" <sloan@xxxxxx> wrote in message
news:%23Y$FmwgkJHA.3380@xxxxxx
> You need to provide some more "context" for this question.
>
> Are you using a certain framework? (Not "dotnet" , but a certain kind of
> business object framework).
>
>
>
> "Julian" <julian@xxxxxx> wrote in message
> news:eAYoKzZkJHA.2384@xxxxxx>
>> Hi
>>
>> If you validate in the properties of a business object and there is an
>> error how do you set a forms error provider for the properties error?
>>
>> Many thanks
>>
>> Julian
>>
>
Yes,
Try to ask this question in the newsgroup
Microsoft.public.dotnet.languages.vb
Then can more persons use the benefits from the answers.
Cor
"Julian" <julian@xxxxxx> wrote in message
news:OL5uVPmkJHA.4372@xxxxxx
> Rather than validating on the form I wish to validate in the class
> property setters and if the validation is not true set the error provider
> on the appropriate control on the form with an error message. I am not
> using any particular framework but just building the classes myself Is
> there common way of doing this?
>
> Julian
>
> "sloan" <sloan@xxxxxx> wrote in message
> news:%23Y$FmwgkJHA.3380@xxxxxx>
>> You need to provide some more "context" for this question.
>>
>> Are you using a certain framework? (Not "dotnet" , but a certain kind of
>> business object framework).
>>
>>
>>
>> "Julian" <julian@xxxxxx> wrote in message
>> news:eAYoKzZkJHA.2384@xxxxxx>>
>>> Hi
>>>
>>> If you validate in the properties of a business object and there is an
>>> error how do you set a forms error provider for the properties error?
>>>
>>> Many thanks
>>>
>>> Julian
>>>
>>
>
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| typed datasets vs. business objects | BillE | .NET General | 12 | 08 May 2008 |
| validation error | maknalivin | Vista installation & setup | 1 | 30 Oct 2007 |
| WCF serialization architecture question, not creating multiple instances of existing business objects | sonic | Indigo | 4 | 12 Apr 2007 |
| Business Objects is ready for Vista or not. | SrinivasReddy - IBM | Vista General | 2 | 13 Nov 2006 |
| Applying DataContract to business/domain objects | Bill Poole | Indigo | 0 | 27 Jun 2006 |