private static IHtmlContent BooleanTemplateDropDownList(IHtmlHelper htmlHelper, bool?value) { return(htmlHelper.DropDownList( expression: null, selectList: DefaultDisplayTemplates.TriStateValues(value), optionLabel: null, htmlAttributes: CreateHtmlAttributes(htmlHelper, "list-box tri-state"))); }
private static string BooleanTemplateDropDownList(IHtmlHelper html, bool?value) { return(html.DropDownList( string.Empty, DefaultDisplayTemplates.TriStateValues(value), CreateHtmlAttributes(html, "list-box tri-state")) .ToString()); }
private static string BooleanTemplateDropDownList(IHtmlHelper html, bool?value) { return(html.DropDownList( name: null, selectList: DefaultDisplayTemplates.TriStateValues(value), optionLabel: null, htmlAttributes: CreateHtmlAttributes(html, "list-box tri-state")) .ToString()); }