Re: Alert box doesn't appear
- From: "Jan" <scsd@xxxxxx>
- Date: Thu, 8 Mar 2007 18:39:29 +0100
Thnaks Mark, i knew that.
What i don't know is why it doesn't work with response.redirect? Is there a
specific reason for that?
As i said, it works also with Server.transfer ...Why?
Thanks
"Mark Rae" <mark@xxxxxxxxxxxxxxxxx> schreef in bericht
news:uZ7Mn3VYHHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
"Jan" <cbcbc@xcvx> wrote in message
news:uBMbDkQYHHA.4396@xxxxxxxxxxxxxxxxxxxxxxx
Why not with the Response.redirect?
Apologies - I didn't read your post properly...
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');window.location='next.aspx';" _
& "</script>"
Response.Write(jv)
End If
End Sub
.
- References:
- Alert box doesn't appear
- From: Jan
- Re: Alert box doesn't appear
- From: Mark Rae
- Re: Alert box doesn't appear
- From: Jan
- Re: Alert box doesn't appear
- From: Mark Rae
- Alert box doesn't appear
- Prev by Date: How do I uninstall codeSMART?
- Next by Date: Re: How to do paging in web service
- Previous by thread: Re: Alert box doesn't appear
- Next by thread: Re: Alert box doesn't appear
- Index(es):
Relevant Pages
|