Brilliant, thanks Terry, I appreciate your help, it worked a treat :) Below is the code converted to VB if anyone else needs it:
- Public Sub Attachments1_AttachmentAdded(ByVal sender As Object, ByVal args As CuteWebUI.AttachmentItemEventArgs)
- fileuploadcount += 1
- End Sub
-
- Public Sub Attachments1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs)
- If fileuploadcount > 0 Then
- Response.Redirect("photos_uploaded.aspx")
- End If
- End Sub
Kind regards,
Rich