Solved

Gridview Delete row warning!!

Posted on 2007-04-04
1
568 Views
Last Modified: 2013-11-07
Hi,
I have a gridview with a delete column. Its dangerous to have this in the manner that I have it set up because it does an instant delete without any second chance or option to change the users mind.

I was wondering if there is any easy way of displaying an ok Cancel dialog that displayed the description of the data they are about to delete, giving them the opportunity to cancel.

Cheers
0
Comment
Question by:jazz__man
1 Comment
 
LVL 10

Accepted Solution

by:
Si_Hibbard earned 500 total points
Comment Utility
There is an example of how to do this is MSDN -> http://msdn2.microsoft.com/en-us/library/ms972940.aspx

Near the bottom of the page - look for "Utilizing Client-Side Script to Confirm Deletions"
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now