Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Call A Client Side Function Before a Server Side Function

Avatar of uconnfb13
uconnfb13 asked on
JavaScriptWeb DevelopmentASP.NET
8 Comments1 Solution769 ViewsLast Modified:
Hi All,

Can anybody tell me if it is possible to run a client side function and then if a particular action occurs, a call to the server will be made and dealt with.

To put some context, I would like to have a "Delete" button on a screen that will eventually delete a record out of my database.  However, I would like to ask the user "Are you sure you would like to delete this record?" before doing so.  If they confirm, then I would like my C# server side functionality deleting the record to fire.  If they do not confirm, I would like nothing to happen.

Is this possible/does anybody know a link to a decent tutorial?

Avatar of Roopesh Reddy
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers