Uploader for Silverlight
Parameters

Use the Parameters property to send custom parameters from the client to the server if you want to keep information associated with each uploaded file. For example, if you use C1Uploader to allow users to upload music or video files, you can request information about each file from the user to populate a database. For a music file you might request metadata that includes the artist, title, and description.

Use the following code to set a parameter:

Visual Basic
Copy Code
uploader1.Parameters("Company") = "ComponentOne"

 

C#
Copy Code
uploader1.Parameters["Company"] = "ComponentOne";

This adds a "Company" parameter to the uploaded file.

See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback