Image Manager for image placeholders?

4 posts, 1 answers
  1. Reidar
    Reidar avatar
    2 posts
    Member since:
    Feb 2009

    Posted 12 Feb 2009 Link to this post

    Hi.

    We're looking at using the RadEditor for an intranet site. The main pain point with the original SharePoint controls seems to be the image manager; the users really like the image manager that comes with the RadEditor.
    But I cannot find if it is possible to use the image manager for image placeholders, such as rollup images? If not, the users will have to use two completely different dialog sets for working with images. This could be a show stopper.

    I'm sorry if this is covered extensively in the documentation, but I have not been able to find anything. And sentences like "insert images in the editor's content area" seem to indicate that it is not possible.

    Regards,

    Reidar Husmo
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 13 Feb 2009 Link to this post

    Hi Reidar,

    By default, all RadEditor dialogs are embedded as resource fils in the Telerik.Web.UI.dll file, which makes their customization harder. In order to provide an easy way to modify the editor's dialogs, the RadControls installation now comes with an extra folder named EditorDialogs which contains the dialogs' ascx files. You can configure RadEditor to use the external dialog files by copying the EditorDialogs folder to the root of the web application and setting the ExternalDialogsPath property to point to it.

    You can find additional information in http://www.telerik.com/help/aspnet-ajax/customizingimagedialog.html help article.

    Also you should know that in order to modify the ExternalDialoguesPath property you need to modify the respective ConfigFile.xml located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.3.2.0__1f131a624888eeed\Resources folder (5.3.2.0__1f131a624888eeed depends on the control version).

    In addition you should know that there is an option of using the Image and Document managers outside RadEditor. You can find more information in the following KB article http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx .

    Kind regards,
    Stanimir
    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. Reidar
    Reidar avatar
    2 posts
    Member since:
    Feb 2009

    Posted 17 Feb 2009 Link to this post

    mhuh. I think I may have been unclear in my OP, or else I misunderstand your answer.

    One of our pages has two placeholders; one that can accept just about anything, and which automatically gets the RadEditor if installed & activated for that site. This placeholder is of type PublishingWebControls:RichHtmlField.
    The other placeholder only accepts images, and is of type PublishingWebControls:RichImageField. This placeholder does not get the RadEditor treatment. Which is a shame, as the button to add an image will not bring up the Telerik Image Manager.

    So, in very short, I do not (yet) want to customize the dialogs, but I want to use them from one additional button.. (Add image).
    The last link in your answer may give the answer, but I've still got the feeling that it ought to be even simpler, given how simple it was for the test placeholder.

    Do bear in mind that I'm new to the controls, and that the answer may be a lot simpler than the ones you usually answer. :-)

    Regards,

    Reidar
  4. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 19 Feb 2009 Link to this post

    Hi Reidar,

    As far as I understand what you need to do is use the ImageManager dialog out side of RadEditor. You have a button and once you click on the button you need to select an image, which you use to populate the second placeholder that you described in the previous post.

    I think that the KB article that I suggested Using the Image and Document managers outside RadEditor is an example of the functionality that you wish to achieve, although there is populated an asp:TextBox.


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