Wednesday, April 4, 2012

Change the ValidatorCalloutExtender ErrorMessage

Change the ValidatorCalloutExtender ErrorMessage


sender.errormessage = "Please select atleast one Quintile.";
                        var cell = sender.ValidatorCalloutBehavior._errorMessageCell;
                        // cell is going to be null first time.                       
                        if (cell != null) {
                            cell.innerHTML = "Please select atleast one Quintile.";
                        }

No comments:

Post a Comment