Hello Good People!
I'm building my first WPF
application and some of the validation techniques
are getting me confused the more i google looking for a solution.
My application connects to a web service
and pulls data for manipulation.After manipulation the app calls another method for example to send the manipulated data. (for example i pull contactInfo[]
by calling getContact()
that i show on a ListBox
, when a contactInfo
object is deleted i call removeContact()
webmethods).
Now in various windows i need to validate inputs for the 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 textboxes to a DataModel, let's say contactInfo.
Here are my concerns:
Question 1 : is it possible to validate whithout Binding?
Question 2 during my research i found a nice way here on how all the validations can be triggered from a button click event, i'm wondering if that suits the implementation whithout Databinding?
Question 3 : can any one help me? ^^
thanks for reading