|
-
Jun 9th, 2003, 09:21 AM
#1
Thread Starter
PowerPoster
*RESOLVED* Confirming a DELETE with DataList
One thing I am clueless how to do with the DataList is on the DeleteCommand how to CONFIRM the deletion before actually deleting the records from the database?
Code:
'In my HTML
<asp:LinkButton id="delete" Runat="server" CommandName="Delete" Text="Delete"></asp:LinkButton>
Last edited by jesus4u; Jun 9th, 2003 at 11:52 AM.
-
Jun 9th, 2003, 10:25 AM
#2
Frenzied Member
Use a JavaScript messagebox and get the result.
-
Jun 9th, 2003, 11:52 AM
#3
Thread Starter
PowerPoster
Well I found a site where this guy is doing EXACTLY what I wanted. See it for yourself. Pretty in depth but it works on my webpages. If anyone can explain his code I would appreciate it!
Thanks
http://www.metabuilders.com/tools/ConfirmedButtons.aspx
-
Jun 9th, 2003, 01:08 PM
#4
Frenzied Member
Thanks for that link. There is some great stuff there.
-
Jun 9th, 2003, 01:09 PM
#5
Thread Starter
PowerPoster
No prob! Just sharing the wealth !
-
Jun 9th, 2003, 01:16 PM
#6
Best I can say about his code, is that I guess he may be using DHTML behaviours. Maybe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|