Wrox Programmer Forums
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 19th, 2009, 08:44 PM
Authorized User
Join Date: Jun 2009
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Default dialog box

hi...how to add a dialog box,after i add one record into postjob table and link it to main page(menu.aspx) .....the dialog box's message "Added One Record!" and there is only OK command,after i click OK it should link to menu.aspx......thank you
Old August 20th, 2009, 12:40 PM
Friend of Wrox
Join Date: Nov 2007
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts
Default Something like...

You could do something like this...

        Dim Script As String = "<script language='javascript' type='text/javascript'>"
        Script &= "alert('Added One Record!');"
        Script &= "window.location.href = 'main.aspx';"
        Script &= "<" & "/script>"
        Page.ClientScript.RegisterClientScriptBlock(Page.GetType, "Redirect", Script, False)
Jason Hall

Follow me on Twitter @jhall2013
The Following User Says Thank You to alliancejhall For This Useful Post:
Banishah (August 23rd, 2009)
Old August 28th, 2009, 12:15 AM
Registered User
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default need help

I have a dialog box type object that displays fine and hides when I hit the button, but my problem is that I don't want to add an event listener for the dialog click. Instead, there is a function waiting on the answer for the yes or no. I notice AS2 has sleep(), which I could have used here. It looks like it is gone. Is there an equivalent way to keep delaying until the dialog is clicked?

Many thanks for any input!

drug rehab
Old October 22nd, 2009, 05:47 AM
Friend of Wrox
Join Date: May 2006
Posts: 107
Thanks: 1
Thanked 8 Times in 7 Posts

Would this help?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save dialog box mcinar Classic ASP Basics 6 January 15th, 2005 12:49 AM
Bypass a Dialog Box SerranoG Access VBA 3 December 22nd, 2004 05:00 PM
insert dialog box in a dialog box BurhanKhan Visual C++ 7 June 1st, 2004 07:53 PM
Reports Dialog Box Ben Horne Access 4 April 21st, 2004 08:40 PM
Custom Dialog Box snakedog Access 1 March 12th, 2004 09:37 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.