Beispiel #1
0
        protected string RenderError()
        {
            if (this.errorMessage == null)
            {
                return(String.Empty);
            }



            HtmlRenderer html = new HtmlRenderer();

            html.Add("<tr><td align=\"center\" style=\"padding:16px;\" colspan=\"2\">");
            html.Error(this.errorMessage, null);
            html.Add("</td></tr>");

            return(html.ToString());
        }