Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > pop up confirmation help me please

Reply
Thread Tools

pop up confirmation help me please

 
 
skaufmann skaufmann is offline
Junior Member
Join Date: May 2009
Posts: 1
 
      05-13-2009
I noticed this post while browsing. Yes I real I am about 3 years late, but what I think graphicsxp was looking for is something like this:


Dim strMessage As String = "Are you sure you want to overwrite the file?"

'finishes server processing, returns to client.
Dim strScript As String = "<script language=JavaScript>"
strScript += "confirm(""" & strMessage & """);"
strScript += "</script>"

Page.ClientScript.RegisterStartupScript(Page.GetTy pe(), "clientScript", strScript)
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a confirmation pop when a row with a radio button is selected to be deleted Samy ASP .Net 5 10-28-2005 12:03 AM
Adding a confirmation pop-up window for datagrid delete Elton W ASP .Net 0 05-15-2005 08:47 PM
How to pop up a confirmation dialog box? Amelyan ASP .Net 1 04-28-2005 11:05 PM
Re: Server Side Confirmation pop-up... S. Justin Gengo ASP .Net 9 07-28-2003 04:02 PM
Re: Server Side Confirmation pop-up... Michal A. Valasek ASP .Net 0 07-25-2003 01:42 PM



Advertisments