It would also be good to have 2 more events added to this control
TaskCardMoving and TaskCardMoved
The reason for this is because if the TaskBoard itself is database driven, we'll need the TaskCardMoved event to update the database tables with the appropriate column to card(s) information. Unless this is already there but i just don't see it.
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Oct 2021, 06:41 AM
Hello, Martin,
Indeed, it is good to have the the TaskCardSelecting and TaskCardSelected events in the Visual Studio's Events property grid. I have logged it in our feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
As to the task card moving, it is suitable to use the public API that the RadTaskBoardDragDropService offers. It can be accessed by the RadTaskBoard.TaskBoardElement.DragDropService property. The PreviewDragOver event allows you to control on what targets the task card being dragged can be dropped on. The PreviewDragDrop event allows you to get a handle on all the aspects of the drag and drop operation, the source (drag) control/element, the destination (target) control/element, as well as the task card being dragged. This is where we will initiate the actual physical move of the task(s) from one column to the target column or from one RadTaskBoard to another. You can update the database either in the PreviewDragDrop or the Stopped event. Additional information about the drag drop service and its API is available in the following help article: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/raddragdropservice
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.
for now, I have just use an AddHandler like this;
AddHandler RadTaskBoard1.TaskBoardElement.TaskCardSelected, AddressOf TaskCardSelected
But I do believe these events should be appearing in the VS Events Property Grid
It would also be good to have 2 more events added to this control
TaskCardMoving and
TaskCardMoved
The reason for this is because if the TaskBoard itself is database driven, we'll need the TaskCardMoved event to update the database tables with the appropriate column to card(s) information. Unless this is already there but i just don't see it.