RadEditor set background image from client machine without ImageManager

2 posts, 0 answers
  1. Dev
    Dev avatar
    28 posts
    Member since:
    Jan 2011

    Posted 24 Jan 2013 Link to this post

    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
  2. Rumen
    Admin
    Rumen avatar
    14098 posts

    Posted 24 Jan 2013 Link to this post

    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.
Back to Top