Hello,
I am trying to invoke a javascript function when a ValidationSummary shows the errors on a page.
Is this possible?
Hello,
I am trying to invoke a javascript function when a ValidationSummary shows the errors on a page.
Is this possible?
if you do not find another way to make a "JS user function", you can try this way:
var oldValidationSummaryOnSubmit = ValidationSummaryOnSubmit;
var ValidationSummaryOnSubmit = function(validationGroup){
/*
my code before
*/
// call old (MS ASP.NET function) ValidationSummaryOnSubmit
oldValidationSummaryOnSubmit(validationGroup);
/*
my code after
*/
}