Multiple choice technology web technology

Which event does the web DataGrid control raise when the custom button is clicked?

  1. ItemCommand

  2. ButtonClicked

  3. OnClick

  4. EditCommand

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The DataGrid control raises the ItemCommand event when any button within the grid is clicked, including custom buttons. This server-side event is specifically designed to handle button clicks in DataGrid rows. OnClick is a client-side JavaScript event, ButtonClicked is not a standard DataGrid event, and EditCommand only fires for Edit buttons specifically.