private static void ShowErrors(ErrorInfoCollection errors)
 {
     HtmlPage.Window.Alert(errors.ToString());
 }
 private static void ShowErrors(ErrorInfoCollection errors)
 {
     //TODO: Need to find a better way of displaying errors than in an HTML window, it doesn't look good.
     HtmlPage.Window.Alert(errors.ToString());
 }