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

FileExplorer with webservice

1 Answer 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mattias
Top achievements
Rank 1
Mattias asked on 17 Feb 2009, 08:25 AM
Hi,
I need to pick images in my application and the File Explorer Demo shows exactly what I need.
There's just one problem, my images is on a different domain!

Can the File Explorer grab directories and files through for example a web service?
Or is there some other way to get my images?

/Mattias

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 20 Feb 2009, 03:48 PM
Hi Mattias,

The default content provider of the File Explorer control works only with the current web application. However, you can write your own content provider and get the files from a database, web service, etc. The content provider model is the same as the one in our RadEditor control. You can see an online example of a custom provider here - http://demos.telerik.com/aspnet-ajax/editor/examples/dbfilebrowsercontentprovider/defaultcs.aspx

The above example is using a special handler (Handler.ashx) to stream the images in the client browser.

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Mattias
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or