Is there an easy way to determine what controls are failing validation on an ASP.NET web site? I am debugging a page where Page.Validate("group")
fails, but I don't know what controls made the page fail. The page is rather big and the code a bit messy, so I am hoping that I could get a list of the IDs of the controls that are failing validation.
I have tried adding a ValidationSummary to the page, but that just gives me a standard "please fill in a value" message for the three controls that a failing because that's the standard text that we use on the web site.