I am facing an issue with my asp.net webform repeater. Within the "ItemTemplate" of the repeater, I have added an asp:button and implemented the following code in the "OnClientClick" event of the button.
// Here is a JavaScript function
function ConfirmDelete(groupID){
return confirm('Are you sure you want to delete ' + groupID);
}
I have experimented with different variations of the OnClientClick but haven't been able to achieve success. How can I pass the value of "GroupID" from the database to the JavaScript function "ConfirmDelete"?