I think the title says it all. No HeaderTemplate shows up in the resulting web page. I also searched the browser debug window to make sure it wasn't just hidden but there. It's not rendered at all:
@(Html.Kendo().DropDownList()
.Name("CompanyId")
.DataValueField("Id")
.DataTextField("Name")
.BindTo(Model.CompanyList)
.HtmlAttributes(new { style = "width: 200px; z-index: 10004;" })
.Height(300)
.OptionLabel("Select a company")
.Events(e => e.DataBound("dataBound"))
.HeaderTemplate("<div>FOO BAR</div>")
.Template("<span class=\"k-state-default\">" +
"<h5 style=\"display: inline-block; width: 190px\">#: data.Name #</h5> " +
"<p style=\"display: inline-block; width: 100px\">#if(data.ContactName) {# #=data.ContactName# # } else {# #}#</p> " +
"<p style=\"display: inline-block; width: 100px\">#if(data.PhoneFormatted) {# #=data.PhoneFormatted# # } else {# #}#</p>" +
"</span>"
)
)
@(Html.Kendo().DropDownList()
.Name("CompanyId")
.DataValueField("Id")
.DataTextField("Name")
.BindTo(Model.CompanyList)
.HtmlAttributes(new { style = "width: 200px; z-index: 10004;" })
.Height(300)
.OptionLabel("Select a company")
.Events(e => e.DataBound("dataBound"))
.HeaderTemplate("<div>FOO BAR</div>")
.Template("<span class=\"k-state-default\">" +
"<h5 style=\"display: inline-block; width: 190px\">#: data.Name #</h5> " +
"<p style=\"display: inline-block; width: 100px\">#if(data.ContactName) {# #=data.ContactName# # } else {# #}#</p> " +
"<p style=\"display: inline-block; width: 100px\">#if(data.PhoneFormatted) {# #=data.PhoneFormatted# # } else {# #}#</p>" +
"</span>"
)
)