I am creating my first application WPF, and some of validation techniquesme are embarrassed, the more I search Google for a solution.
My application connects to web serviceand retrieves data for manipulation. After manipulation, the application calls another method, for example, to send managed data. (for example, I pull contactInfo[]by calling getContact(), which I point to ListBox, when the object is contactInfodeleted, I call removeContact()webmethods).
Now in different windows I need to check the inputs for data integrity (for example, when I add a new contact by calling addContact()). And correct me, if my thinking is wrong, I don’t need to bind my controls, mostly text fields, with a DataModel, say contactInfo.
Here are my problems:
Question 1 : can I check without binding?
Question 2 during my research, I found a good way here about how all checks can be triggered from a button click event, I wonder if this corresponds to an implementation without data binding?
Question 3 : can someone help me? ^^
Thanks for reading