Understand. There is a sample apx file in 2.3 sample folder and it has date control with multi date selection. They have just added to show how multiple date selection possible in DateTime Picker but this is not associated to any data binding variable and also there is no service operations associated to it.
I have just picked up this file and tried to manipulate with this multiple date selection but I am still having issues to to pass the array date
variable to service operation.
1.Created new javascript to read the multiple selection from Date Time Picker to array variable with the help of Jquery function.
2.Converted this array date variable to String array Variable by using moment.js for better formatting.
3.Set this String array variable to TD data binding variable
4.Called Operations to pass this string array values to operation and just returned these values to show in the combobox. just to confirm
it works through operation. This is a workaround to send the date to string to operations and get the data back from string to date to show it
in the front end design.
5.Called Operations to pass this multiple date values as-is and returns the same date values through UDV object and tried to show it
in the table control but it does not work. The date values are punderassing till Ajax call but it does not handshake with service operation.
It looks like date format is not accepted by ASP .NET Date format in TD.NET Design.
6.I have also showed how to get the values from one date data field and show it to another date data field. basically to show
the getting and setting API Date picker function.
Modified items are
1. Modified existing javascript function coding to append one more multi selection.
2. added new javascript function coding to manipulate data between jvascript, service operation and front end controls.
3. added combo boxes, table control and one more datetime picker for showing the multi selection dates.
4. added functional class for table control
5. added Binding variables to support above functionalities.
For your information - Let me raise ticket with Gupta why date values are getting passed. if we know the solution for this issue then we do not need to convert the date to string and vice versa for multi selection functionality.
I am not sure whether this will be helpful for you but thought to give a try how this multi selection date works
Thanks
Siva A
You do not have the required permissions to view the files attached to this post.