Image/Flash/File Manager's remembering selected file

10 posts, 0 answers
  1. Pebbz
    Pebbz avatar
    3 posts
    Member since:
    Nov 2008

    Posted 11 Nov 2008 Link to this post

    It seems the file/image/flash manager is a little buggy.  If I insert two images into my text area, and when I highlight the first image inserted, and reopen the image manager (same for file/flash), the image manager starts from it's default/last known settings instead of bringing up the actual highlighted image properties.  I've test this locally and on your own demo's, http://demos.telerik.com/aspnet/prometheus/Editor/Examples/Default/DefaultCS.aspx

    Is there a way I can fix this?

    For background information, I'm currently writing an FLV manager based off of the flash manager.  I've managed to use ExternalDialogsPath property and made my own copy of FlashManager.ascx.  I'm now currently able to insert flv files into my text.  My issue now is the problem stated above.  If I can understand how to resolve it for the default image manager, or just for custom dialogs, either will sufice for my project.

    I've digged really really deep into the code as I've found the documentation very limited (or I'm blind and cant find it). :(  I see that the GenericFileLister sets ClientState information.  I cannot figure out how I can make GenericFileLister load a specific subdirectory, and select a specific file.

    Any guidance will be greatly appreciated.

  2. Nikolay Raykov
    Admin
    Nikolay Raykov avatar
    102 posts

    Posted 17 Nov 2008 Link to this post

    Hi Pebbz,

    This turned out to be a bug on our side. We will get this one fixed in the next Service Pack. Thank you for reporting this issue!

    Best wishes,
    Nikolay Raykov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pebbz
    Pebbz avatar
    3 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2008 Link to this post

    Thanks for your reply.

    Is there anyway that I can load a specific subdirectory, and select a specific file in GenericFileLister?  I find the communication between the dll api and client-side javascript api very confusing and lacking documentation.  I see there are functions inside GenericFileLister to set the SelectedItemPath in the dll, but I am confused on how javascript can call that function.


  5. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 21 Nov 2008 Link to this post

    Hello Pebbz,

    I am not sure you can do that from JavaScript. The way we do it is pass the file/path as a querystring parameter when we load the dialog. The value is read on the server and when the dialog loads, the file browser will point to the preselected path.

    We know that this is somewhat limited, which is why we plan to integrate the new RadFileExplorer control (http://demos.telerik.com/aspnet/prometheus/Editor/Examples/FileExplorer/Overview/DefaultCS.aspx) inside the RadEditor image,document,flash, etc. dialogs. This will allow you to have much more functionality in the dialogs (moving, renaming) and also to load a specific file or path using the file explorer javascript API.

    All the best,
    Lini
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 25 Nov 2008 Link to this post

    Hi Lini,

    Is there any ETA on this?  I've had issues with the current *Managers and was close to coming up with my own but I like where the new FileExplorer could be headed.  Thanks,

    Shaun.
  7. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 26 Nov 2008 Link to this post

    Hi Shaun,

    We plan to actively develop the FileBrowser in the coming months - that is for the Q1 2009 release.
    Our intention is to add the missing functionality to the file browser, then integrate it into the editor. So the new editor dialogs featuring the file browser control will appear in Q3 2008 SP2 or Q1 2009 Futures.

    Best regards,
    Tervel
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 02 Dec 2008 Link to this post

    Hi Tervel,

    If you're looking for an MVP ready to test the new dialogs over a somewhat large audience, look no further.  Is there any way that this could happen?  The current dialogs are having all sorts of difficulties with Chrome, Safari, and IE8, where navigating to a particular folder loads the files & folders in the root directory of the application.  This is obviously a very bad thing and if I can help move things along faster I'd definitely be willing to do so.  Thanks,

    Shaun.
  9. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 03 Dec 2008 Link to this post

    Hello Shaun,

    We appreciate the proposal, and we will gladly use your help. Once we have an initial internal build of the dialogs we will send it over to you.

    On a side note - as usual with new browsers, all IE8 related issues will be addressed within about two weeks after the official browser launch (we have experienced more harm than good fixing issues in beta browsers, only to re-fix them when the official browser comes out - see FF2, FF3, Opera 9, IE7, Safari 3).

    As far as Chrome and Safari (which is essentially the same browser engine) are concerned - are you able to reproduce the problem you refer to at our online demos?


    All the best,
    Tervel
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 03 Dec 2008 Link to this post

    Thanks Tervel,

    No, I can't reproduce on your demos - however, I can reproduce (about 90% of the time...go figure) on our sites.  I've made a short video to showcase and will open a support ticket to attach it.

    No worries about the IE8 thing, I know it's still highly unstable and would be difficult to try to ensure compatibilty, I was just pointing out that the FileManagers (in my case) don't seem to work for it either.

    Shaun.
  11. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 03 Dec 2008 Link to this post

    Ticket submitted.  #177833
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017