Why does Html.Label() not work with periods?
I used ToHtmlString() and that solved the issue.
Thanks
You can also use
<%= Html.Label("","Bill Co.")%>
When using Html.label()
, the parameter needs to be an expression that identifies the property to display and the for attribute.