Alert box doesn't appear
- From: "Jan" <cbcbc@xcvx>
- Date: Wed, 7 Mar 2007 21:42:27 +0100
Hi,
Why don't i see the Alert box? The page is redirected without showing it. I
also tried with parameter 'False' and 'True'.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim a As Integer
a = 5
If a = 5 Then
Dim jv As String
jv = "<script language='javascript'>" _
& " alert(this is ok);" _
& "</script>"
Response.Write(jv)
Response.Redirect(next.aspx")
'Response.Redirect(next.aspx", False)
'Response.Redirect(next.aspx", True)
End If
End Sub
Thanks
Jan
.
- Follow-Ups:
- Re: Alert box doesn't appear
- From: Damien
- Re: Alert box doesn't appear
- From: Mark Rae
- Re: Alert box doesn't appear
- Prev by Date: Customizing user controls dynamically?
- Next by Date: Re: Alert box doesn't appear
- Previous by thread: Customizing user controls dynamically?
- Next by thread: Re: Alert box doesn't appear
- Index(es):
Relevant Pages
|
Loading