codinglifestyle.wordpress.com
Change Background Color of Invalid Controls (ASP.NET Validator) | Coding Lifestyle
https://codinglifestyle.wordpress.com/2009/09/16/change-background-color-of-invalid-controls-asp-net-validator
When it's not just a job…. Change Background Color of Invalid Controls (ASP.NET Validator). September 16, 2009. Posted by codinglifestyle in ASP.NET. If you set a breakpoint on WebForm OnSubmit and step in you can check out the .NET validator script. Key thing here is a global array called Page Validators. From here it is fairly trivial to test and change something about the control in question. I = 0; i Page Validators.length; i ). Val = Page Validators[i];. Ctrlstyle.backgroundColor = “”. ValidatorUpda...