-
March 6th, 2006, 02:58 PM
#1
Having trouble with response.write
I would like to show a pdf file when a user clicks on an image control. I am using the reponse.write comand. It used to work ( I thought) but does not now. I am using vb.net. Here is the sub.
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Response.Write("<script language=javascript>window.open('pdf files/Certificate and Scope.pdf');</script>")
End Sub
Can anyone tell me what is wrong? Thanks,
Jason
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|