This question is locked. New answers and comments are not allowed.
Hi,
I want to diable the right click option in the RadpanelbarGroupElement. How should i acheive it?
As of now am giving the message box in the mouse down event. Below is the code that i have used.
I dont need to intimate the user about this. How this should be done?
I want to diable the right click option in the RadpanelbarGroupElement. How should i acheive it?
As of now am giving the message box in the mouse down event. Below is the code that i have used.
Private Sub RadPanelBar1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles RadPanelBar1.MouseDown
Try
If e.Button = Windows.Forms.MouseButtons.Right Then
RadMessageBox.Show("Right click not allowed.")
Exit Sub
End If
Catch ex As Exception
RadMessageBox.Show(ex.ToString)
End Try
End Sub