Stand Alone - Image Editor

14 posts, 0 answers
  1. Jeroen Speldekamp
    Jeroen Speldekamp avatar
    30 posts
    Member since:
    Mar 2005

    Posted 13 Jul 2009 Link to this post

    Requirements

    RadControls version

    2009.01.0527.35

    .NET version

    3.5

    Visual Studio version

    2008

    programming language

    C#

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    This project is build for a CMS this is why I use the editor as an CompositeControl this way its possible to use it on multiple page's. In the project file is an working solution so you can have a look how to use it.

    Want to share it with anyone couse i think its an much asked question.

    Greetings,
    Jeroen Speldekamp
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 15 Jul 2009 Link to this post

    Hi Jeroen,

    Thank you for sharing your solution with the community. I updated your Telerik points for your work.

    Best regards,
    Rumen
    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.
  3. altaf
    altaf avatar
    50 posts
    Member since:
    Jun 2008

    Posted 11 Sep 2009 Link to this post

    Hi Jeroen Speldekamp,

    Thanks a lot for helping.

    Regard,
    Altaf
  4. Daryl Shenner
    Daryl Shenner avatar
    46 posts
    Member since:
    Dec 2009

    Posted 13 Dec 2009 Link to this post

    Hi Jeroen

    Thanks for the posting.  I'm running into a problem saving images.  It returns a message box saying "Cannot write to the target folder."

    Any ideas?
  5. Frans Harinck
    Frans  Harinck avatar
    4 posts
    Member since:
    Mar 2010

    Posted 11 Mar 2010 Link to this post

    I have the same problem.  Got error "Cannot write to the target folder." on saving edited message.
  6. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 11 Mar 2010 Link to this post

    Hi guys,

    This problem could be due to that the tilde before the /ROOT path is missing, e.g.

    imageEditorParameters.ViewPaths = new string[] { "~/ROOT" };
    imageEditorParameters.UploadPaths = new string[] { "~/ROOT" };

    The tilde ~ symbol represents the root of the web application.
    The / symbols (without a tilde before) it represents root of IIS.

    My suggestion is to also test with the latest Q1 2010 version of RadControls for ASP.NET AJAX.

    Greetings,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. Frans Harinck
    Frans  Harinck avatar
    4 posts
    Member since:
    Mar 2010

    Posted 11 Mar 2010 Link to this post

    had already tried the tilde but that doesn't help. It's for us at the moment no option to migrate to Q1 2010 version. But thanks for the answer.
    Frans Harinck
  8. Frans Harinck
    Frans  Harinck avatar
    4 posts
    Member since:
    Mar 2010

    Posted 12 Mar 2010 Link to this post

    Today tried with the latest Q1 2010 version of RadControls for ASP.NET AJAX. But still no result.
  9. Frans Harinck
    Frans  Harinck avatar
    4 posts
    Member since:
    Mar 2010

    Posted 12 Mar 2010 Link to this post

    OK the posted solution uses an own ImageEditor but this is included in the telerik.web.ui assembly (Q1 2010 SP1), so we can use the 'standard' image editor. see attached zip with the updated solution.
  10. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 15 Mar 2010 Link to this post

    Hi Frans,

    Thank you for providing an updated solution for the latest Q1 2010 SP1 release. I noticed that the Telerik.Web.UI.dll in the project was version Q3 SP2 2009, I updated it to Q1 SP1 2010 and reattached the project.

    I updated also your Telerik points.

    All the best,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  11. F I
    F I avatar
    1 posts
    Member since:
    Apr 2010

    Posted 16 Jun 2010 Link to this post

    this Image Editor is very usefull form my project but i'd like to able to take some action when i click on the image editor save button. I'm trying to find out a solution by myself but i'm new in telerik components so i'm experimenting some problems to find the solution. Can anyone help me?
    Thanks Fabio
  12. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 16 Jun 2010 Link to this post

    Hi Fabio,

    You can implement a custom FileSystemContentProvider and override the StoreBitmap method (used to save a newly created bitmap to the storage). You can see how to implement a FileSystemContentProvider in this KB article: Retrieving the size of the uploaded file(s) and restricting file upload. More information about the methods of the provider are available in this demo: Custom File Dialogs Content Provider.

    If you have additional questions, please open a support ticket and provide a sample working project that demonstrates your scenario.

    Best regards,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  13. Moroianu George-Gabriel
    Moroianu George-Gabriel avatar
    7 posts
    Member since:
    Feb 2010

    Posted 01 Nov 2010 Link to this post

    Hi guys,
    Is there a way to use the ImageEditor.ascx instead of "standard" editor? I need to open an image in one image editor( which I did, thank's to your help using RadDialogOpener solution) but , after that, I need to modify the layout of image editor and, the big problem, to modify the "save" and "overwrite" actions from image editor. Practically I need to have access to the image editor file but I did not succeeded. 
    I saw the other examples in here but, even there are included files like "Custom_Image_Editor.dll" or "ImageEditor.ascx" the image editor is the standard one with no modifications. 
    Please tell me if there is a way to do it!
    Yours,
    Moro
  14. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 04 Nov 2010 Link to this post

    Hi Moro,

    Please, check this KB article: Using the Image and Document managers outside RadEditor. You will see that you can set the ExternalDialogsPath property which will allow you to edit the external dialog files using the following syntax:

    DialogDefinition imageManager = new DialogDefinition(typeof(ImageManagerDialog), imageManagerParameters);
    //If you need to customize the dialog then register the external dialog files
    imageManager.Parameters["ExternalDialogsPath"] = "~/EditorDialogs/";

    The EditorDialogs folder is available in the RadControls for ASP.NET AJAX installation and it contains the ImageEditor.ascx control.

    You can set the ExternalDialogsPath property for the Image Editor dialog using the above syntax and customize the ImageEditor.ascx file.

    Please, note that Telerik does not support custom implementations and customizations.

    Kind regards,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top