protected override void EnsureRequired() { this.Name = this.Name ?? ViewContext.ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty); base.EnsureRequired(); }