views:

45

answers:

0

I wish to make controls like textbox, combobox, listbox and other user editable controls to be bound with validation, so i thought of extending the existing controls and make a new VTextBox, VComboBox, VListBox which have a validationregex property and an error provider component attached with them. My prime aim is to have validation attached with my controls when i make users mark entries to the Form. I was tired of writing validation event for each control. I want to know

  • if any tutorial or guide lines exist as what and all will have to take care of?
  • There are some implementations of having a common validation event and by using the MVP pattern a common view is called which inturn calls the control's validation event. Is there any implementation of such idea?
  • Am i heading right for the requirement?