var validate = $("form").validate({....})validate.showError({"username":"username is required!"});validate.showError([{"username":"username is required!"}]);
public static string GetModelErros(this ModelStateDictionary dic) { var sb = new StringBuilder(); var enumerable = dic.Values; if (enumerable != null) { foreach (ModelState modelState in enumerable) { foreach (ModelError error in (Collection<ModelErr
Wednesday, April 6, 2011 at 17:40 | Post a Comment SharePoint "Unknown Error": How to Show All the Details in Batch Automation / .NET Programmability, ExportZen, FilterZen, MOSS 2007, PeopleZen, PrintZen, ROXORITY, SharePoint 2010, SharePoint 2