What should we do if we use LabelFor and not Label?
The German Umlaut ist inside a DataAnnotation of the Model Class
<
script
id
=
"detailTemplate"
type
=
"text/kendo-tmpl"
>
<
div
>
@Html.LabelFor(vm => vm.importedAt)
@Html.Kendo().TextBox().Name("test").Value("#= kendo.toString( importedAt,'dd.MM.yyyy') #").ToClientTemplate()
@Html.LabelFor(vm=>vm.iban)
@Html.Kendo().TextBox().Name("iban#=transactInID#").Value("#=iban#").ToClientTemplate()
@Html.LabelFor(vm => vm.transactInID)
@Html.Kendo().TextBox().Name("transactInID#=transactInID#").Value("#=transactInID#").ToClientTemplate()
@Html.LabelFor(vm => vm.value)
@Html.Kendo().TextBox().Name("value#=transactInID#").Value("#=value# #=currIsoCode#").ToClientTemplate()
@Html.LabelFor(vm => vm.gvcDescription)
@Html.Kendo().TextBox().Name("gvcDescription#=transactInID#").Value("#=gvcDescription#")
</
div
>
</
script
>
And the DataAnnotation looks like this
[Display(Name = "Geschäftsvorfall)]
public
string
gvcDescription {
get
;
set
; }