Basic Evaluation Question

Last post 09-03-2008, 4:44 PM by Adam. 3 replies.
Sort Posts: Previous Next
  •  08-28-2008, 8:16 AM 43343

    Basic Evaluation Question

    I am trying to evaluate Ajax Uploader for purchase, but I don't see any documentation in the trial download, so I have a couple of questions:
     
    I have the Ajax-Unloader.zip file download and have the C Sharp Magic Ajax demo running.
     
    - I am uploading files, but to where? How do I specify the upload directory?  In our case, it will be different for almost every upload.
     
    - I see that if the file is too large, there is a warning message.  Where and how is this message being triggered.  (I have used the file upload control from MSFT, and do not like the fact that the user cannot be notified before the error is triggered)
     
    - What's the difference between the  C Sharp Magic Ajax and C Sharp Microsoft Ajax demos?
     
    - Is there documentation?
     
    That's it for now.  Thanks
    Mike Thomas
  •  08-28-2008, 9:55 AM 43345 in reply to 43343

    Re: Basic Evaluation Question

    Mike,
     
    >>but I don't see any documentation in the trial download,
     
    You can find two document files in the document folder.
     
    a. Class reference
    b. Developer's guide
     
    >>I am uploading files, but to where? How do I specify the upload directory? 
     

     void Uploader_FileUploaded(object sender, UploaderEventArgs args)
        {
            Uploader uploader = (Uploader)sender;
            InsertMsg("File uploaded! " + args.FileName + ", " + args.FileSize + " bytes.");

            //Copys the uploaded file to a new location.
            //args.CopyTo("c:\\temp\\"+args.FileName);
            //You can also open the uploaded file's data stream.
            //System.IO.Stream data = args.OpenStream();
        }

     >>I see that if the file is too large, there is a warning message. 
     
    Can you post this warning message?
     
    >>- What's the difference between the  C Sharp Magic Ajax and C Sharp Microsoft Ajax demos?
     
    It's just the different ajax framework.
     
    >>-Is there documentation?
     
    Yes. Please see my first answer.
     
    Hope it helps.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-03-2008, 4:36 PM 43531 in reply to 43345

    Re: Basic Evaluation Question

    I have a similar issue with evaluation.  I'm looking at the code for on multiple-files-upload.aspx (shown below):
     
      void ButtonTellme_Click(object sender, EventArgs e)
        {
            ListBoxEvents.Items.Clear();
            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();
            }
        }
     
    If I uncomment the highlighted line, I get a build error as there is no 'args' in this particular example.  I am stuck with code that creates some persistent .resx files.  Perhaps this was an error, or did I miss something, or am I supposed to just figure this out on my own...
  •  09-03-2008, 4:44 PM 43533 in reply to 43531

    Re: Basic Evaluation Question

    The above code should be:
     
      void ButtonTellme_Click(object sender, EventArgs e)
        {
            ListBoxEvents.Items.Clear();
            foreach (AttachmentItem item in Attachments1.Items)
            {
                InsertMsg(item.FileName + ", " + item.FileSize + " bytes.");
                //Copies the uploaded file to a new location.
                //item.CopyTo("c:\\temp\\"& item.FileName);

                //You can also open the uploaded file's data stream.
                //System.IO.Stream data = item.OpenStream();
            }
        }

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML