Last selected directory in Silverlight Demo

7 posts, 1 answers
  1. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 16 Jun 2014 Link to this post

    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!
  2. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 19 Jun 2014 Link to this post

    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.
     
  3. DevCraft banner
  4. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 19 Jun 2014 in reply to Kiril Vandov Link to this post

    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
  5. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 23 Jun 2014 Link to this post

    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.
     
  6. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 29 Jun 2014 in reply to Kiril Vandov Link to this post

    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
  7. Answer
    Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 01 Jul 2014 Link to this post

    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.
     
  8. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 03 Jul 2014 in reply to Kiril Vandov Link to this post

    Hi Kiril,

    many thanks, indeed that works!

    Best regards,
    Bernhard
Back to Top
DevCraft banner