This is a migrated thread and some comments may be shown as answers.

Last selected directory in Silverlight Demo

6 Answers 45 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Bernhard
Top achievements
Rank 1
Bernhard asked on 16 Jun 2014, 10:44 AM
Hi,

I've noticed the following behaviour in your "FirstLook" demo application (http://demos.telerik.com/silverlight/#Upload/FirstLook) depending on the used browser:

Using Firefox (version 29.0.1):
When a file is added the last selected directory is remembered. That means when again choosing files with the "Add more files" button the last selected directory is preselected.

Using IE (version 11.0.9):
It remembers nothing but only selects the default directory %USERPROFILE%\Documents everytime.

I wonder why this is?


Furthermore I also have a deployed Lightswitch application with Silverlight GUI where the OpenFileDialog works as expected - both IE and Firefox. At least at my system (some customers told me that in their cases on IE it doesn't work neither).
I read about some registry entries where this could be configured but I don't want my customers to modify their registry on their own.
Do you have a clue why this is?
Maybe it's the same root cause as in your demo app?

Thanks for any help in advance!

6 Answers, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 19 Jun 2014, 11:09 AM
Hello Bernhard,

You are correct that in our online demos the RadUpload controls does not remember the last open files dialog location. However we were not able to reproduce this in an isolated project and the open file dialog opens as expected.

Could you please take a look at the sample project and let us know if you can reproduce the issue in the sample project.

Looking forward to hearing from you.

Kind regards,
Kiril Vandov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Bernhard
Top achievements
Rank 1
answered on 19 Jun 2014, 11:26 AM
Hi Kiril,

yes, I can reproduce it with the attached project. Same behaviour.
With Firefox it works, with Internet Explorer unfortunately not.

Microsoft really doesn't make it too easy for developers...

Best regards,
Bernhard
0
Kiril Vandov
Telerik team
answered on 23 Jun 2014, 02:38 PM
Hello Bernhard,

We have tried to reproduce the issue in the sample we provided for you on several machines under Windows8 and Windows7, but with no success. That is why I would like to ask you for information:
- on what OS you re running the project.
- what is the exact version of the binaries that you are using.
- what is the version of your VisualStudio.

Looking forward to hearing from you.

Kind regards,
Kiril Vandov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Bernhard
Top achievements
Rank 1
answered on 29 Jun 2014, 07:37 PM
Hi Kiril,

- Windows 7 Professional (Version 6.1, Build 7601 SP1)
- Visual Studio Professional 2013, Version 12.0.21005.1 REL
- RadUploadHandler.dll: 2013.3.1016.40

But that doesn't explain why it doesn't work as expected in your online demo in IE - right?

BR,
Bernhard
0
Accepted
Kiril Vandov
Telerik team
answered on 01 Jul 2014, 07:29 AM
Hello Bernhard,

We have investigated this issue further and we have found that when you host a Silverlight application on a remote server as in our demo app, IE does not have permissions to use the last used directory. In order to make this feature to work in IE you need to add the website to your Trusted sites. You can do that from the setting of your IE (Internet Options > Security > Trusted Sites) a browser restart is needed. Doing so you allow this website to run with extra permissions and IE can access the last used directory..

Kind regards,
Kiril Vandov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Bernhard
Top achievements
Rank 1
answered on 03 Jul 2014, 08:12 PM
Hi Kiril,

many thanks, indeed that works!

Best regards,
Bernhard
Tags
Upload
Asked by
Bernhard
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Bernhard
Top achievements
Rank 1
Share this question
or