ASP.NET validation
I have a little problem with validation in one form, the form consists of two such. Each tap has a "Save" button (this is the same control for both) and saves information about the form. one tab has validation controls, but not the other. When we try to save information from the second tab and the information has not been filled in in the first tab, the validators fire and nothing happens, but since these validators are shown in another tab, the end user might think the operation was completed, instead I wanted would show a msgBox informing the user about errors in another tab. How do I know if validators on another tab have been run and display an error message when the button is clicked?
Thanks a lot in advanced guys
You must use the ValidationGroup of the validation controls and the corresponding submit button. You can also use the ValidationSummary element, which displays a summary of the validation messages - this can be set to display a message box if you want by setting the ShowMessageBox = true property.
a source to share