public bool CheckErrors() { //Page x=new System.Web.UI.Page(); ValidationSummary sum= new ValidationSummary(); Page.Validate(sum.ValidationGroup); if (!Page.IsValid) { //this.EnsureChildControls(); UpdatePanel update = new UpdatePanel(); update.ID = "update"; update.UpdateMode = UpdatePanelUpdateMode.Conditional; update.Update(); modalPopupEx.Show();//error is in this line return false; } return true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)