This is a migrated thread and some comments may be shown as answers.
RadEditor set background image from client machine without ImageManager
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 24 Jan 2013, 06:33 AM
Hi !!

I am using RadEditor in which I have facilitated user to set background image of editor using page properties dialog box. Now the issue is I have to set an ImageManager which opens on clicking browse button of Page Properties as shown in attached image and then user is asked to either select the image from existing ones or upload his own. I don't want to show user which images are already exists in server. I just want when user clicks browse button, he should be able to select the image from his local machine and then the selected image will be set as background image of the RadEditor.

Is there any way to implement this? Awaiting for your valuable response..

Thank you,
Dev

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 24 Jan 2013, 06:50 PM
Hi,

You can configure the view and upload paths of the Image Manage which is opened from the Page Properties dialog using the highlighted properties:

<telerik:RadEditor runat="server" ID="RadEditor1">
<ImageManager ViewPaths="~/Images" UploadPaths="~/Images"></ImageManager>
...

This will enable the upload dialog and the user will be able to upload images from the hard disk and insert them as a background image via the Page Properties dialog.

In the ViewPaths property specify a directory especially created for the logged user.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Dev
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or