Pankaj Singh
Hi, I am trying to bind my Date Time picker with a complex BO who has one var with Date type but not able to.
I read where that we need to use ‘Data’ control and then on change I should update ‘Date Time Picker’ but the issue which I am facing here is that it changes only once.
After that it stops changing
And the Date picker we can’t add time plus it gives error with format of input.
SPARK Support
Hi Pankaj,
Even if the data changes only once, you should be able to use the On Load and On Change event of the Data control to capture the data from the complex business object and set the value in the Date Time Picker with the proper format.
Regards,
Stephen P.
Pankaj Singh
Thanks for the response but if data changes only once then ‘On Load ‘ and ‘On Change ‘ event will also be fired only once so it works fine for the very first time but fails when we change it continuously at one go