DatePicker value as string

Hello Radzen Team!

Is there any way to bind a string as a DatePicker value?
I tried binding and calling ToString() method with the appropriate format but no luck.

image

Hi @kim,

Using string as value is not supported - only DateTime. You can use DateTime.Parse() to parse the string value.

1 Like