If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Response.Redirect()

Have you tried posting back to the current webform itself with a flag to
indicate opening of a new webform. Check for that flag and then Use javascript
'window.open()' method to open new browser with Sample.aspx URL .(use Onload
event(clientside))

"michael" <mmayfield_NOSPAM@houston.rr.com> wrote:
>
>How do I open a webform in a new browser without navigating from the current
>webform?
>
>Private Sub DataGrid1_EditCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs)
>Handles DataGrid1.EditCommand
>
> If e.CommandSource.Text = "Edit" Then
> Dim sID As String = "?SampleID=" & DataGrid1.Items(e.Item.DataSetIndex).Cells(2).Text
>
> 'This will open it in the current browser
> Response.Redirect("Sample.aspx" & sID)
>
> 'How do I open it in a NEW browser?
>
> End If
>
>Thanks
>Michael