Referencing detailsview controls after updating
The reference of the Delete Button is determined and the Java Script code for displaying the Confirmation Box is set to its HTML On Click attribute.
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to delete rows or records from Grid View with Java Script Confirmation Box using Command Field and On Row Deleting event in ASP.
NET page template in the Visual Studio Web Application project.
AJAX (Asynchronous Java Script and XML) is arguably one of the most hyped technology acronyms around.