idataerrorinfo Questions

4

Solved

If my domain objects implement IDataErrorInfo, and I am using M-V-VM, how do I propagate errors through the ViewModel into the View? If i was binding directly to the model, I would set the "Validat...
Voletta asked 4/12, 2008 at 19:42

2

Solved

I'm currently looking into validation for my WPF app and seen the mention of IDataErrorInfo. However there are few guides to how to use it and worse there are none who explain how it works. On MSND...
Debatable asked 24/6, 2010 at 10:48

3

Solved

DataAnnotations vs IDataErrorInfo Pros and Cons of both? Benefits of one over the other? (especially related to MVC)

1

Did I miss something? 1- Style <Style TargetType="{x:Type TextBox}"> <Style.Triggers> <DataTrigger Binding="{Binding Path=Validation.HasError}" Value="true"> <Setter Prop...
Rask asked 16/5, 2010 at 7:11

3

Solved

I'm starting to implement validation in my WPF project via the IDataErrorInfo interface. My business object contains multiple properties with validation info. How do I get a list of ALL the error m...
Eakin asked 21/1, 2010 at 19:20

2

Solved

Can IDataError info be used properly in a winforms application? In the past I was doing my binding the usual way(1) and did the validation in the OnValidating event of the particular control. I wou...
Ursola asked 9/9, 2009 at 20:7

© 2022 - 2024 — McMap. All rights reserved.