Click here to Skip to main content
15,921,660 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionIncorporating several 3rd party installation programs into setup project? Pin
mike973052-Mar-06 11:25
mike973052-Mar-06 11:25 
QuestionGraphics update bottleneck Pin
magja2-Mar-06 3:51
magja2-Mar-06 3:51 
AnswerRe: Graphics update bottleneck Pin
Dave Kreskowiak2-Mar-06 8:09
mveDave Kreskowiak2-Mar-06 8:09 
GeneralRe: Graphics update bottleneck Pin
magja2-Mar-06 22:08
magja2-Mar-06 22:08 
GeneralRe: Graphics update bottleneck Pin
Dave Kreskowiak3-Mar-06 1:49
mveDave Kreskowiak3-Mar-06 1:49 
QuestionHow to write C# code in a vb.net form Pin
Maher Abu Zer1-Mar-06 23:51
professionalMaher Abu Zer1-Mar-06 23:51 
AnswerRe: How to write C# code in a vb.net form Pin
darkelv2-Mar-06 0:55
darkelv2-Mar-06 0:55 
AnswerRe: How to write C# code in a vb.net form Pin
Vasudevan Deepak Kumar2-Mar-06 1:38
Vasudevan Deepak Kumar2-Mar-06 1:38 
QuestionHow to Get Client IP address using TcpClient? Pin
Maher Abu Zer1-Mar-06 20:24
professionalMaher Abu Zer1-Mar-06 20:24 
AnswerRe: How to Get Client IP address using TcpClient? Pin
Nicholas Butler1-Mar-06 21:00
sitebuilderNicholas Butler1-Mar-06 21:00 
GeneralRe: How to Get Client IP address using TcpClient? Pin
Maher Abu Zer1-Mar-06 21:50
professionalMaher Abu Zer1-Mar-06 21:50 
AnswerRe: How to Get Client IP address using TcpClient? Pin
Nicholas Butler1-Mar-06 22:16
sitebuilderNicholas Butler1-Mar-06 22:16 
GeneralRe: How to Get Client IP address using TcpClient? Pin
Maher Abu Zer1-Mar-06 22:29
professionalMaher Abu Zer1-Mar-06 22:29 
AnswerRe: How to Get Client IP address using TcpClient? Pin
Nicholas Butler1-Mar-06 22:39
sitebuilderNicholas Butler1-Mar-06 22:39 
GeneralRe: How to Get Client IP address using TcpClient? Pin
Maher Abu Zer1-Mar-06 22:47
professionalMaher Abu Zer1-Mar-06 22:47 
QuestionCompact .NET Pin
rmander1-Mar-06 17:08
rmander1-Mar-06 17:08 
AnswerRe: Compact .NET Pin
Vasudevan Deepak Kumar2-Mar-06 1:40
Vasudevan Deepak Kumar2-Mar-06 1:40 
GeneralRe: Compact .NET Pin
rmander2-Mar-06 10:13
rmander2-Mar-06 10:13 
QuestionBusiness Objects + Databinding + data validation = my question... Pin
Chris Richner1-Mar-06 5:22
Chris Richner1-Mar-06 5:22 
Hi,


Imaginge that one is dealing with business objects which are exposing their attributes through public properties. One is now able to bind these properties to UI Controls with the build-in .net data binding mechanism. So far so good.

Data validation should be done inside the business objects in two different modes. Every public property on a business object can have a ValidateXXX method which validate just the given value. The second method validates all given data in a context that is meaningfuel for the whole business object instance.

Last but not least all validation messages should be displayed at UI level with an ErrorProvider component. Each control should show the assigned validation error message from the business logic layer.

So far we have some business objects, which are bound to UI controls. We have a collection with validation messages provided by the business object instance.

How to connect the whole thing togheter? The databinding mechanism is the only part that knows which UI Control is bound to which business object property. I miss the part which takes care of settings the validation messages for each control after validation is done.

Shouldn't the databinding mechanism provide a way to transport validation messages and shows them with a ErrorProvider next to the bound control Confused | :confused:





myMsg.BehindDaKeys = "Jerry Maguire";

-- modified at 11:22 Wednesday 1st March, 2006
AnswerRe: Business Objects + Databinding + data validation = my question... Pin
akyriako781-Mar-06 5:52
akyriako781-Mar-06 5:52 
GeneralRe: Business Objects + Databinding + data validation = my question... Pin
Chris Richner1-Mar-06 7:10
Chris Richner1-Mar-06 7:10 
GeneralRe: Business Objects + Databinding + data validation = my question... Pin
akyriako782-Mar-06 0:09
akyriako782-Mar-06 0:09 
GeneralRe: Business Objects + Databinding + data validation = my question... Pin
Chris Richner4-Mar-06 1:31
Chris Richner4-Mar-06 1:31 
AnswerRe: Business Objects + Databinding + data validation = my question... Pin
akyriako781-Mar-06 6:02
akyriako781-Mar-06 6:02 
QuestionCryptoAPI throws exception in Windows 2003 Pin
gvasudha1-Mar-06 4:24
gvasudha1-Mar-06 4:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.