Setting DataTextField to an object's property which is string array
Hi, I want to databind the daypilot month control to an array of objects.
The problem is that my object has a property Name which is a string array, since it stores names for different cultures.
How can I specify the datatextfield property of daypilot month to use index 0 of the string array.
Thanks in advance
Asked by Anonymous 11 months ago.
You will probably have to change the structure of your data source. DayPilot converts the value of the specified field to string using Convert.ToString() call.
The other option is to change it in the source code but you would have to re-apply your patch with each new release.
Answer posted by Dan Letecky [DayPilot] 10 months ago.