Is there any way we can add a context menu to a card?
It would be nice to be able to be able to right-click on a card and have a context menu so that we can modify portions of the Card. E.g., Add/Remove User Update Title Update Sub Title Add/Remove Tags
Nevermind, i think i figured it out... at first I wasn't sure because I didn't see the ContextMenuOpening on the TaskCard Object
Private Sub CardElement_MouseDown(sender As Object, e As MouseEventArgs) Dim clickedElement = RadTaskBoard1.ElementTree.GetElementAtPoint(e.Location) If TypeOf clickedElement Is RadTaskCardElement Then SetupContextMenu(True) cMenu.Show(RadTaskBoard1, e.Location) End If End Sub
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 11 Oct 2021, 05:51 AM
Hello, Martin ,
It is possible to add a context menu to the RadTaskBoard control in the way you demonstrated. I would recommend you to have a look at the following KB article which refers to an SDK sample showing how to display an edit dialog for modifying the task cards:
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.
Nevermind, i think i figured it out... at first I wasn't sure because I didn't see the ContextMenuOpening on the TaskCard Object
Private Sub CardElement_MouseDown(sender As Object, e As MouseEventArgs)Dim clickedElement = RadTaskBoard1.ElementTree.GetElementAtPoint(e.Location)
If TypeOf clickedElement Is RadTaskCardElement Then
SetupContextMenu(True)
cMenu.Show(RadTaskBoard1, e.Location)
End If
End Sub