Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to add Context Menu in my Grid view on LEFT click not on right click,
and that menu can add update delete a row with the code in .cs page.
Posted

1 solution

Hi
C#
private void gridControl1_MouseDown(object sender, MouseEventArgs e)
     {

         if (e.Button == MouseButtons.Left)
             contextMenuStrip1.Show();
     }
 
Share this answer
 
Comments
Muhammad Talha Baig 30-Dec-12 23:18pm    
Please Guide complete solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900