I recently saw a posting here that advised on how to set up a confirmation prompt for a delete button as such in the Page_Load() in my VB.NET web form:
btnDelete.Attributes.Add("onclick", "return confirm('are you sure wish to delete this record?');")
This works, but I wanted to be able to display the selected record in the prompt instead of a generic "are you sure you wish to delete this record".
Is this possible?