Thank you for contacting Telerik Support.
In order to achieve your goal, please have a look at the following code snippet:
ContextMenu contextMenu =
.radGridView1.MouseDown += radGridView1_MouseDown;
sender, MouseEventArgs e)
RadGridView grid = sender
&& e.Button == System.Windows.Forms.MouseButtons.Right)
grid.ContextMenu = contextMenu;
I hope this information helps. Should you have further questions, I would be glad to help.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>