Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > on click of a link button should first save the data and then open a new browser

Reply
Thread Tools

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

 
 
Mathew George
Guest
Posts: n/a
 
      07-01-2003
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
 
 
 
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
Required user to read - then click a checkbox and then a button becomes enabled. Mufasa ASP .Net 7 09-04-2007 06:04 PM
How to fire both event button click and textchanged when button is click and text is changed Amy ASP .Net 0 06-01-2006 02:33 PM
Help. SessionID is x then y then x then y BodiKlamph@gmail.com ASP General 0 09-03-2005 03:02 PM
on click of a link button should first save the data and then open a new browser Mathew George ASP .Net 1 07-02-2003 12:48 PM
on click of a link button should first save the data and then open a new browser Mathew George ASP .Net Building Controls 0 07-01-2003 06:06 AM



Advertisments