on click of a link button should first save the data and then open a new browser

Posted: 07-01-2003, 06:06 AM
Hi,

A page consists of a link button. Clicking this link button should first
save data in the database.
If the data is saved correctly then it should open a new window.

I have coded for the link button as

Private Sub Button1_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
' perform database save here
Response.Write("<script>window.open();</script>")
End Sub


Can anyone suggest which is the best method in terms of reliability and
performance.

Regards,
Mathew



Reply With Quote

Responses to "on click of a link button should first save the data and then open a new browser"

Mathew George
Guest
Posts: n/a
 
on click of a link button should first save the data and then open a new browser
Posted: 07-01-2003, 06:06 AM
Hi,

A page consists of a link button. Clicking this link button should first
save data in the database.
If the data is saved correctly then it should open a new window.

I have coded for the link button as

Private Sub Button1_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
' perform database save here
Response.Write("<script>window.open();</script>")
End Sub


Can anyone suggest which is the best method in terms of reliability and
performance.

Regards,
Mathew


Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Click Submit Button on keypress? rlafleur Coldfusion Flash Integration 5 04-01-2005 10:35 AM
Browser back button and flash form expiration mHintze Coldfusion Flash Integration 3 03-04-2005 02:12 PM
Disabling Save or Save As Ernie_Humphrey@adobeforums.com Adobe Acrobat Windows 5 04-01-2004 04:27 PM
Click twice on OK button in alert dialogs -- wassup with that? Dee Holmes Adobe Illustrator Macintosh 0 02-04-2004 08:41 PM
When publishing a Director File to the Internet -- How do you make the browser open in full screen mode??? RFishc607 Macromedia Director Basics 1 07-01-2003 06:53 PM