Validating during keypress
The Form and Control classes expose a set of events related to application startup and shutdown.When a Windows Forms application starts, the startup events of the main form are raised in the following order: When you change the focus by using the keyboard (TAB, SHIFT TAB, and so on), by calling the Select or Select Next Control methods, or by setting the Active Control property to the current form, focus events of the Control class occur in the following order: Note The feedback system for this content will be changing soon. If content within a comment thread is important to you, please save a copy.It is also not clear whether in my case it would be setting Causes Validation = false is enough or whether I have to set tye type (extended) to None instead of Required when it does not participate in validation. (which means error Provider1 will have null (or) be null - I don't exactly understand) I know this is because of something I'm missing to understand using "null". I have small query , I wanted to fire the validation without closing the form.
For specific details about the order of mouse input events, see Mouse Events in Windows Forms.
The problem arises in the fact that the textbox data is REQUIRED if and only if a radiobutton is set.