Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7716301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:36:06+00:00 2026-06-01T02:36:06+00:00

I have a silverlight upload control. It handles drag&drop for files, quite good. Users

  • 0

I have a silverlight upload control. It handles drag&drop for files, quite good.
Users can drag multiple files to the control, and it will upload them.

BUT, I cannot get this to work with folders. I would like to be able to drop a folder onto the control, and then upload all the files in the folder.

I’m having alot of problems, detecting that it is a folder though, and not a file. It seems the DragEventArg‘s data, is FileInfo[]. I’ve tried everything I can think off, to check every FileInfo in the array. Most of my attempts seems to be un-allowed in silverlight. The rest, has no effect.

This is an internal application, hosted on our intranet.

Can I parse it somehow?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:36:07+00:00Added an answer on June 1, 2026 at 2:36 am

    Silverlight does not allow direct access to the file-system (except with raised intranet privileges and in OOB mode).

    The files you access were via streams and not directly. Folder access is not allowed by default but you can make your app a Trusted application on an Intranet.

    Trusted Applications

    In Silverlight 5, trusted applications have additional capabilities
    unavailable in previous versions of Silverlight. Specifically,
    Silverlight 5 trusted applications can do the following:

    Access the local file system without restrictions.

    Access security critical methods without a MethodAccessException occurring. This is supported for Windows-based applications only.

    Run inside the browser if the computer and application are properly configured, as previously mentioned.

    Create multiple windows when running outside the browser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight 4.0 website where users can upload images. (Users have to
I have been trying to figure out a reliable solution in provide a drag-drop-upload
I have a Silverlight application that needs to upload large files to the server.
I have a Silverlight application that needs Drag-And-Drop functionality because I allow the user
I have found a great silverlight upload control here: http://silverlightuploader.codeplex.com/ If a zip file
Using Silverlight 3 to build a file upload app. It can upload files of
We have a Silverlight 2 project (game) that will require a lot of character
I have a silverlight control which has a reference to a silverlight enabled wcf
I have a Silverlight control that tries to have the same background as the
I have an silverlight 4 application, and I want to upload recursively a local

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.