V
VB Programmer
Here is my code:
Private Sub imgMyPicture_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles imgMyPicture.Click
Response.Redirect(Me.imgMyPicture.ImageUrl, False)
End Sub
Per previous research I added the "False" argument and took the redirect out
of the Try Catch block. (Because it was getting the "thread aborted"
error.)
But, when I click on imgMyPicture it doesn't redirect to the image. I've
verified that the ImageUrl is valid. It's equal to:
C:\Inetpub\wwwroot\MyWeb\WorkOrderImages\leak1.jpg
Any ideas?
Thanks.
Private Sub imgMyPicture_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles imgMyPicture.Click
Response.Redirect(Me.imgMyPicture.ImageUrl, False)
End Sub
Per previous research I added the "False" argument and took the redirect out
of the Try Catch block. (Because it was getting the "thread aborted"
error.)
But, when I click on imgMyPicture it doesn't redirect to the image. I've
verified that the ImageUrl is valid. It's equal to:
C:\Inetpub\wwwroot\MyWeb\WorkOrderImages\leak1.jpg
Any ideas?
Thanks.