Dialog configuration problem

3 posts, 0 answers
  1. Reid
    Reid avatar
    448 posts
    Member since:
    Oct 2008

    Posted 21 Apr 2011 Link to this post


    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.

        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"
        <ImageManager UploadPaths="~/Content/images/pages" />
        <DocumentManager UploadPaths="~/Content/images/pages" ViewPaths="~/Content/images/pages" />
        <MediaManager UploadPaths="~/Content/images/pages" />
        <TemplateManager UploadPaths="~/Content/images/pages" />
          <telerik:EditorCssFile Value="~/Content/css/EditorContentArea.css" />

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

  2. Rumen
    Rumen avatar
    14316 posts

    Posted 25 Apr 2011 Link to this post

    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,
    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.

  3. Reid
    Reid avatar
    448 posts
    Member since:
    Oct 2008

    Posted 25 Apr 2011 Link to this post

    Thank you for your attention to this, it is now woking.
Back to Top