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

.NET (Core and Framework)

 
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 
AnswerRe: CryptoAPI throws exception in Windows 2003 Pin
gvasudha3-Mar-06 7:01
gvasudha3-Mar-06 7:01 
QuestionSet the angle of italic font Pin
karbon33911-Mar-06 2:39
karbon33911-Mar-06 2:39 
AnswerRe: Set the angle of italic font Pin
James Gupta1-Mar-06 12:02
professionalJames Gupta1-Mar-06 12:02 
AnswerRe: Set the angle of italic font Pin
Guffa1-Mar-06 13:28
Guffa1-Mar-06 13:28 
GeneralRe: Set the angle of italic font Pin
karbon33911-Mar-06 20:16
karbon33911-Mar-06 20:16 
QuestionEnumerating satellite resource assemblies in .net 2 Pin
BiasoSoft28-Feb-06 18:04
BiasoSoft28-Feb-06 18:04 
QuestionSuggestions for searching for information specificaly regarding .net 2.0 Pin
Rabb Moshe Plotkin28-Feb-06 5:25
Rabb Moshe Plotkin28-Feb-06 5:25 
AnswerRe: Suggestions for searching for information specificaly regarding .net 2.0 Pin
HimaBindu Vejella28-Feb-06 18:55
HimaBindu Vejella28-Feb-06 18:55 
GeneralRe: Suggestions for searching for information specificaly regarding .net 2.0 Pin
Rabb Moshe Plotkin1-Mar-06 1:39
Rabb Moshe Plotkin1-Mar-06 1:39 
QuestionFilter not working correctly in OpenFileDialog Pin
ricecake28-Feb-06 5:09
ricecake28-Feb-06 5:09 
QuestionRe: Filter not working correctly in OpenFileDialog Pin
ricecake28-Feb-06 7:48
ricecake28-Feb-06 7:48 

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.