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

Image/Flash/File Manager's remembering selected file

9 Answers 124 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Pebbz
Top achievements
Rank 1
Pebbz asked on 11 Nov 2008, 10:28 PM
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.

9 Answers, 1 is accepted

Sort by
0
Nikolay Raykov
Telerik team
answered on 17 Nov 2008, 04:35 PM
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.
0
Pebbz
Top achievements
Rank 1
answered on 18 Nov 2008, 11:14 PM
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.


0
Lini
Telerik team
answered on 21 Nov 2008, 12:15 PM
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.
0
Shaun Peet
Top achievements
Rank 2
answered on 25 Nov 2008, 09:51 PM
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.
0
Tervel
Telerik team
answered on 26 Nov 2008, 03:25 PM
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.
0
Shaun Peet
Top achievements
Rank 2
answered on 03 Dec 2008, 04:45 AM
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.
0
Tervel
Telerik team
answered on 03 Dec 2008, 08:51 AM
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.
0
Shaun Peet
Top achievements
Rank 2
answered on 03 Dec 2008, 03:13 PM
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.
0
Shaun Peet
Top achievements
Rank 2
answered on 03 Dec 2008, 03:31 PM
Ticket submitted.  #177833
Tags
Editor
Asked by
Pebbz
Top achievements
Rank 1
Answers by
Nikolay Raykov
Telerik team
Pebbz
Top achievements
Rank 1
Lini
Telerik team
Shaun Peet
Top achievements
Rank 2
Tervel
Telerik team
Share this question
or