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

using radeditor, wanting to upload image to database

2 Answers 164 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 21 Sep 2007, 04:57 AM
I've got a requirement that I upload images to a database rather than a local path.  I can live with having it upload to the local path, then pushing it to the database after that.  The next step, is I need to create the image src to point at an imagehandler rather than a local file.  I can't find any examples or notes on that.

Thanks,

Peter Kellner
http://peterkellner.net
Microsoft MVP, ASP.NET

2 Answers, 1 is accepted

Sort by
0
genesplitter
Top achievements
Rank 2
answered on 28 Oct 2007, 05:32 PM
I have a very similar requirement. Is there an "OnUploaded" event that I could wire up or is extending Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider

the recommended way to do this?


0
Valeri Hristov
Telerik team
answered on 29 Oct 2007, 09:27 AM
Hello Donald,

The FileBrowserContentProvider is the recommended way to upload files in a database and insert links to them in the content area of RadEditor.

All the best,
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
genesplitter
Top achievements
Rank 2
Valeri Hristov
Telerik team
Share this question
or