shbanchang.info

Activity of Chinese Intelligence

Add delete confirmation to asp.net ListView control

Posted by shbanchang on June 28, 2010

The ASP.Net ListView control is a godsend for developers. Drop the control on the form, hook in a datasource, and you have complete, out-of-the-box view, edit, insert, and delete functionality. One thing missing though is a delete confirmation if the user clicks the delete button. The Delete button is right next to the Edit button so it’s fairly easy to mistakenly click it and with an accidental click, the record is permanently deleted with no prompt or warning issued to the user.
brianhaddock.com


Filed Under: US - Comments: Be the First to Comment


Tags: , , , ,


Add A Comment

You must be logged in to post a comment.

top