Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 04-03-2006, 05:18 AM Delete confirmation
Skilled Talker

Posts: 95
Trades: 0
morning all.

i have a page, where i can delete a record. When the delete button is pressed the record is deleted.

Great no propblem.

I have to build it like the user may be an idiot, and might not mean to click the Delete button. so ..

Is there anyway of creating a confirmation message box?

I'm using asp 3 and Vbscript.
I treid using <script> vb script. which created a msgbox, but i couldnt get the varibles in the normal server side <% asp vbcode%> to the client side <script VB>

any ideas?
higginbt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-03-2006, 10:04 AM Re: Delete confirmation
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.bullschmidt.com/devtip-de...nfirmation.asp
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-03-2006, 12:20 PM Re: Delete confirmation
Skilled Talker

Posts: 95
Trades: 0
Thanks for that chrishirst. I sort of did that in the end only i used VBscribt instead of Javascript.

Dont like mixing between the two on a page unless i have to
higginbt is offline
Reply With Quote
View Public Profile
 
Old 04-03-2006, 12:38 PM Re: Delete confirmation
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
using vbscript on the page means anyone using any browser other than IE will NOT be asked for confirmation.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-04-2006, 07:35 AM Re: Delete confirmation
Skilled Talker

Posts: 95
Trades: 0
Quote:
Originally Posted by chrishirst
using vbscript on the page means anyone using any browser other than IE will NOT be asked for confirmation.
Thanks for the warning Chris. I'm aware of this.
Thankfully the good thing about coding pages for an intranet application is that i know that 100% of people use IE.
higginbt is offline
Reply With Quote
View Public Profile
 
Old 04-08-2006, 07:02 AM Re: Delete confirmation
Junior Talker

Posts: 3
Trades: 0
That is exactly what you want...^-^
http://www.devguru.com/technologies/...ef/msgbox.html
itpretty is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Delete confirmation
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.53546 seconds with 12 queries