i everyone i have a probleme to update gridview with contextmenu

david 237 41 Reputation points
2022-10-17T11:07:37.233+00:00

hello to all I would like to please create a gridview with a contextual menu which will have the effect of recovering the information of the column on which we click, to recover all this information and display it in another gridview or in order to to be modified

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
91 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 55,366 Reputation points
    2022-10-18T15:29:40.42+00:00

    what is the question? you use javascript to implement a custom context menu:

    document.addEventListener( "contextmenu", function(e) {  
       // cancel default menu  
       e.preventDefault();  
      
       // do something  
       console.log("right click");  
    });  
    
    0 comments No comments

  2. david 237 41 Reputation points
    2022-10-19T12:18:09.257+00:00

    the concern that arises is how to update a column with a right click on it and selecting update from the context menu