UploadAttachments doesn't have OpenStream

  •  06-20-2008, 2:43 PM

    UploadAttachments doesn't have OpenStream

    Hi,
     
    I tried using the OpenStream method in the uploadAttachments control (and yes I did look at your demo)
     
     
    FROM THE DEMO SOURCE
    foreach (AttachmentItem item in Attachments1.Items)
    {
       InsertMsg(item.FileName + ", " + item.FileSize + " bytes.");
       //Copies the uploaded file to a new location.
       //args.CopyTo("c:""temp"""+item.FileName);
       //You can also open the uploaded file's data stream.
       //System.IO.Stream data = item.OpenStream();

    }
     
    I can't compile (my code or your demo source), error being 'CuteWebUI.AttachmentItem' does not contain a definition for 'OpenStream'
     
    What's the deal?!
     
    Thanks!

    Regards,

    Moe
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems