Right click Contextmenu in gridview row

Posted by Rambabu123 under jQuery on 3/13/2013 | Points: 10 | Views : 4054 | Status : [Member] | Replies : 3
How to show Right click Contextmenu in gridview row

Please Help me its Urgent.




Responses

Posted by: Satyapriyanayak on: 3/13/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.codeproject.com/Articles/18876/Using-JavaScript-To-Select-GridView-Rows
http://www.codedigest.com/Articles/ASPNET/324_Make_GridView_Row_Selectable_or_Clickable_using_jQuery_in_ASPNet.aspx

If this post helps you mark it as answer
Thanks

Rambabu123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikreddy on: 3/13/2013 [Member] Starter | Points: 25

Up
0
Down
private void MyDataGridView_MouseDown(object sender, MouseEventArgs e)
{
if(e.Button == MouseButtons.Right)
{
var hti = MyDataGridView.HitTest(e.X, e.Y);
MyDataGridView.ClearSelection();
MyDataGridView.Rows[hti.RowIndex].Selected = true;
}
}

k@rth!k
karthikreddy08a50@gmail.com

Rambabu123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hornstalk on: 11/12/2013 [Member] Starter | Points: 25

Up
0
Down
.NET GridView context menu modification
http://www.kettic.com/winforms_ui/csharp_guide/gridview_context_menu_modify.shtml

Rambabu123, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response