Пример #1
0
        protected override void Render(HtmlTextWriter writer)
        {
            if (ErrorContext.Count == 0)
            {
                return;
            }

            if (this.Attributes["class"] == null)
            {
                this.Attributes.Add("class", CssClasses.Error);
            }

            this.Text = ErrorContext.GetAll(Format, Seperator, KeyFilter);
            base.Render(writer);
        }