troubleshooting Question

Call A Client Side Function Before a Server Side Function

Avatar of uconnfb13
uconnfb13 asked on
ASP.NETJavaScriptWeb Development
8 Comments4 Solutions769 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?

Thanks!
ASKER CERTIFIED SOLUTION
Roopesh Reddy
IT Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2012

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 4 Answers and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros