FileUpload(attachment) error when not visible
Re-invent ASP.NET Hosting Community
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



FileUpload(attachment) error when not visible... Expand / Collapse
Author
Message
Posted 1/25/2007 2:24:00 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/25/2007 11:43:00 AM
Posts: 2, Visits: 1

I posted this topic here before I dont know hat happened to it but the problems all fixed and it was not the server at all that was the problem, I test it on my other server and it also did not work there.

If fixed the problem with this code:


If not AttachmentBlank1.PostedFile Is Nothing Then
 mm.Attachments.Add(New Attachment(AttachmentBlank1.PostedFile.InputStream, AttachmentBlank1.FileName))
End if

If not AttachmentBlank2.PostedFile Is Nothing Then 
 mm.Attachments.Add(New Attachment(AttachmentBlank2.PostedFile.InputStream, AttachmentBlank2.FileName))
End if



Budget Web Design Australia
<
Post #496
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Administrator, Re-invent (Paul), Re-invent (Nick)

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:57am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.031. 14 queries. Compression Disabled.


Copyright 2007 Re-invent Technologies LLC All Rights Reserved.