10658 : How can i know the order user click on the time item?

Question

How can i know the order user click on the time item? I found out that u sort GetSelectedTimeItems by date. Please help. I need it urgently.

Answer

We do not store the order of the selections, I do not think we order the GetSelectedTimeItems for that matter. But you can implement OnTimeItem_SelectionChanged and keep your own collection of selected items.

Just add the e.TimeItem to the collection if e.TimeItem.Selected==true, otherwise remove it from the collection.

Leave a Reply