Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 718
Product
FileUp
Version
4.x
Title
HowTo Use FileUp with CodeBehind in Visual Studio.NET
Problem
Using FileUp v4.x with CodeBehind can be done in Visual Studio.NET. The sample provided in this article is written in C#. Please see below for detailed instructions to get started with FileUp and CodeBehind.

This article contains a working example of the FileUp with Progress Indication and .Net Code-Behind

Solution
To use CodeBehind with FileUp v4.x,
    Add references to FileUp and the FileUp Progress Indicator to your VS.Net project.
  1. Right-click on the References which is located in your Solution Explorer.
  2. Click "Add Reference" from the context menu.
  3. Find SaFileUp and SAPrgRes from the .Net tab and click "Select", then "OK".
    Add the attached scripts to your project.
  1. Download attachment from this article below.
  2. Extract to a temporary location on your hard drive.
  3. Right click project name in Solution Explorer in VS.Net.
  4. Click "Add Existing Item".
  5. Browse to extracted files from project.
  6. Select files.
  7. Click "Open" or press Enter.
    Build your project.
  1. Press Ctrl-Shift-B
  2. Browse to form.aspx in your web browser
  3. Select a file, and upload!
You will need to change the Path property that is set in formresp.uplx.cs to a directory on your server with Read/Write/Modify NTFS permissions for your web user.

Attachments
Attachments/KB718_progress.zip
Created : 11/4/2003 5:16:08 PM (last modified : 11/4/2003 5:16:08 PM)
Rate this article!
Comments