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

Using DbContentProvider and also need to include images from filesystem

1 Answer 74 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 18 Oct 2007, 11:18 PM
I need to have the user select images from the database using dbcontentprovider (which is working BTW, thank you), and also be able to include files from the filesystem.  That is, I want to be able to create html that looks like this:

start:
<img  src="http://localhost:51833/KnovoloWeb/ItemHandler.aspx?path=Root/Content113/turtle.jpg" /><br />
<img alt="" src="/photo/img/01B.jpg" />
end:

Can I do this with different folders in the image manager button? Or, can I add a second Image Manager button to the editor, one for images from the file system and one for images from the database?

Thanks

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 19 Oct 2007, 04:07 PM
Hello Peter,

It will not be very easy to add another ImageManager tool on the toolbar, which is configured differently, please see the attached sample.

The other option to provide additional logic in the content provider seems reasonable but will also need significant amount of code. However, most probably it will be easier for your users to open one dialog, instead of two, or at least they will not have to carry about the type of images...

Let me know if I could provide additional help.

Greetings,
Valeri Hristov (Senior Developer, MCSD)
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Peter
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or