Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My requirement is very simple yet very seems to be complicated !!

I am using C# code and java-script.

I want to use an alert message with confirm / cancel button and i want to track the user click from code behind say if he has pressed confirm button of alert message or say if he has clicked on cancel button of alert message.

say from c# code behind page i have called confirmDuplicateCustomerCreation

function confirmDuplicateCustomerCreation() {
confirm('Customer with same details already exists. Do you want to continue?')
}
then is there any way to track whether the user has clicked on confirm or cancel.... ??
Posted

1 solution

here is an answer
Try this link[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900