|
| 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.
- Right-click on the References which is located in your Solution Explorer.
- Click "Add Reference" from the context menu.
- Find SaFileUp and SAPrgRes from the .Net tab and click "Select", then "OK".
Add the attached scripts to your project.
- Download attachment from this article below.
- Extract to a temporary location on your hard drive.
- Right click project name in Solution Explorer in VS.Net.
- Click "Add Existing Item".
- Browse to extracted files from project.
- Select files.
- Click "Open" or press Enter.
Build your project.
- Press Ctrl-Shift-B
- Browse to form.aspx in your web browser
- 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) |