Beispiel #1
0
        protected override void RenderContents(IHtmlWriter writer, IDotvvmRequestContext context)
        {
            if (RenderOnServer)
            {
                if (!string.IsNullOrWhiteSpace(EmptyItemText))
                {
                    writer.WriteTextOrBinding(this, EmptyItemTextProperty, wrapperTag: "option");
                }
            }

            base.RenderContents(writer, context);
        }