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

Dialog configuration problem

2 Answers 49 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 21 Apr 2011, 10:51 PM

Hi,

I am having an issue getting the dialogs to work for the RadEditor.  When I click one of the icons that use Dialogs I get the dialog but the "Insert" button does nothing.  I added the path properties to the RadEditor and added images to those folders.  The dialog that shows has the formatted columns and the "insert" button but nothing else.

<telerik:RadEditor> 
    runat="server" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" 
    Skin="Default" AllowScripts="true" EditModes="All"
    AutoResizeHeight="true" EnableResize="true" ImageManager-UploadPaths="~/Content/images/pages"
    DocumentManager-UploadPaths="~/Content/images/pages" MediaManager-UploadPaths="~/Content/images/pages"
    TemplateManager-UploadPaths="~/Content/images/pages">
    <Content>
    </Content>
    <ImageManager UploadPaths="~/Content/images/pages" />
    <DocumentManager UploadPaths="~/Content/images/pages" ViewPaths="~/Content/images/pages" />
    <MediaManager UploadPaths="~/Content/images/pages" />
    <TemplateManager UploadPaths="~/Content/images/pages" />
    <CssFiles>
      <telerik:EditorCssFile Value="~/Content/css/EditorContentArea.css" />
    </CssFiles>
</telerik:RadEditor>



Are there any links you can share that shows how to complete this task?

Thanks,
Reid

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 25 Apr 2011, 03:20 PM
Hello Reid,

You have not set the ViewPaths property for the Image, Media and Template Managers, e.g.
<ImageManager ViewPaths="~/Content/images/pages" UploadPaths="~/Content/images/pages" />
<DocumentManager UploadPaths="~/Content/images/pages" ViewPaths="~/Content/images/pages" />
<MediaManager ViewPaths="~/Content/images/pages" UploadPaths="~/Content/images/pages" />
<TemplateManager ViewPaths="~/Content/images/pages" UploadPaths="~/Content/images/pages" />


You can find information about setting the file browser managers paths in this article: File Browser Dialogs.
For your convenience I have attached my test project which works as expected on my end.

All the best,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Reid
Top achievements
Rank 2
answered on 25 Apr 2011, 05:22 PM
Thank you for your attention to this, it is now woking.
Tags
Editor
Asked by
Reid
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Reid
Top achievements
Rank 2
Share this question
or