Hi,
I want to format the date in a "dd.MM.yyyy" I've already tried several options but none that work.
The date is stored in the table as Datetime2.
<
telerik:RadListView
runat
=
"server"
ID
=
"rlvEmployes"
ClientDataSourceID
=
"rcdsEmployes"
>
<
LayoutTemplate
>
<
div
class
=
"RadListView RadListView_Default"
>
<
ul
class
=
"employes-list"
id
=
"itemPlaceholder"
runat
=
"server"
style
=
"list-style-type:none;"
>
</
ul
>
</
div
>
</
LayoutTemplate
>
<
ClientSettings
>
<
DataBinding
>
<
ItemTemplate
>
<
li
>
<
div
class
=
"itemTemplate"
data-employe-id
=
"#= ZamestnanecID #"
>
<
div
class
=
"header"
>#= Prijmeni # #= Jmeno #</
div
>
<
div
class
=
"content"
>
<
table
>
<
tr
>
<
td
>
<
span
class
=
"label"
>AktivnĂ:</
span
>
</
td
>
<
td
>
<
input
type
=
"checkbox"
#= Aktivny ? '
checked
=
"checked"
' : '' # />
</
td
>
</
tr
>
<
tr
>
<
td
>
<
span
class
=
"label"
>Datum narozenĂ:</
span
>
</
td
>
<
td
>
<
span
class
=
"info"
>#= format(DatumNarozeni, "{0:dd/MM/yyyy}") #</
span
>
</
td
>
<
td
>
<
span
class
=
"label"
>ÄŚĂslo OP:</
span
>
</
td
>
<
td
>
<
span
class
=
"info"
>#= CisloOP #</
span
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
div
>
<
div
class
=
"editTemplate"
style
=
"display:none;"
>
<
telerik:RadTextBox
runat
=
"server"
Text
=
'#= ZamestnanecID #'
></
telerik:RadTextBox
>
</
div
>
</
li
>
</
ItemTemplate
>
</
DataBinding
>
</
ClientSettings
>
</
telerik:RadListView
>
Where I make mistakes?