Image Manager Upload Disabled

2 posts, 0 answers
  1. Susan
    Susan avatar
    137 posts
    Member since:
    Jul 2007

    Posted 12 Jan 2009 Link to this post

    i know there has been plenty written on this, and i think i have tried it all...so i must be missing something. i still cannot get the upload button to enable on the image manager. following is my code. hopefully you will see something i'm not. i also tried
    '~/WebsiteDocuments/xxxsports"

    thanks,
    susan

     

    Dim imagepath() As String = {"/WebsiteDocuments/xxxsports"}

     

    WebSportContent2Text.ImageManager.UploadPaths = imagepath

    WebSportContent2Text.ImageManager.ViewPaths = imagepath

    WebSportContent2Text.ImageManager.DeletePaths = imagepath

    And the .aspx:

     

     

    <telerik:RadEditor ID="WebSportContent2Text" ToolTip="true" runat="server" TabIndex="1" ContentAreaCssFile="../editorGray.css" Width="700px" Skin="Web20">

     

     

     

     

     

    <Tools>

     

     

     

     

     

    <telerik:EditorToolGroup>

     

     

     

     

     

    <telerik:EditorTool Name="RealFontSize" />

     

     

     

     

     

    <telerik:EditorTool Name="AjaxSpellCheck" />

     

     

     

     

     

     

    <telerik:EditorTool Name="Cut" />

     

     

     

     

     

    <telerik:EditorTool Name="Copy" />

     

     

     

     

     

    <telerik:EditorTool Name="Paste" />

     

     

     

     

     

    <telerik:EditorTool Name="PasteFromWord" />

     

     

     

     

     

    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" />

     

     

     

     

     

    <telerik:EditorTool Name="PastePlainText" />

     

     

     

     

     

    <telerik:EditorTool Name="PasteAsHTML" />

     

     

     

     

     

    <telerik:EditorTool Name="Undo" />

     

     

     

     

     

    <telerik:EditorTool Name="Redo" />

     

     

     

     

     

     

    <telerik:EditorTool Name="FormatStripper" />

     

     

     

     

     

    <telerik:EditorTool Name="ImageManager" />

     

     

     

     

     

    <telerik:EditorTool Name="InsertTable" />

     

     

     

     

     

    <telerik:EditorTool Name="ToggleTableBorder" />

     

     

     

     

     

    <telerik:EditorTool Name="LinkManager" />

     

     

     

     

     

    <telerik:EditorTool Name="Unlink" />

     

     

     

     

     

    <telerik:EditorTool Name="InsertSymbol" />

     

     

     

     

     

    </telerik:EditorToolGroup>

     

     

    <telerik:EditorToolGroup>

     

     

     

     

     

    <telerik:EditorTool Name="Indent" />

     

     

     

     

     

    <telerik:EditorTool Name="Outdent" />

     

     

     

     

     

    <telerik:EditorTool Name="JustifyLeft" />

     

     

     

     

     

    <telerik:EditorTool Name="JustifyCenter" />

     

     

     

     

     

    <telerik:EditorTool Name="JustifyRight" />

     

     

     

     

     

    <telerik:EditorTool Name="JustifyFull" />

     

     

     

     

     

    <telerik:EditorTool Name="JustifyNone" />

     

     

     

     

     

    <telerik:EditorTool Name="InsertUnorderedList" />

     

     

     

     

     

    <telerik:EditorTool Name="InsertOrderedList" />

     

     

     

     

     

    <telerik:EditorTool Name="FormatCodeBlock" />

     

     

     

     

     

     

    <telerik:EditorTool Name="Bold" />

     

     

     

     

     

    <telerik:EditorTool Name="Italic" />

     

     

     

     

     

    <telerik:EditorTool Name="Underline" />

     

     

     

     

     

    <telerik:EditorTool Name="FontName" />

     

     

     

     

     

    <telerik:EditorTool Name="FontSize" />

     

     

     

     

     

    <telerik:EditorTool Name="ForeColor" />

     

     

     

     

     

    <telerik:EditorTool Name="BackColor" />

     

     

     

     

     

    <telerik:EditorTool Name="FormatCodeBlock" />

     

     

     

     

     

    </telerik:EditorToolGroup>

     

     

    </Tools>

     

     

     

     

     

     

    <Content>

     

     

     

     

     

    </Content>

     

     

     

     

     

    </telerik:RadEditor></td></tr>

     

  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 13 Jan 2009 Link to this post

    Hi Susan,

    The following path /WebsiteDocuments/xxxsports" starting with the / symbol means that the editor will look for the WebsiteDocuments folder inside the wwwroot of your IIS server.

    If this folder is placed under the root of your project then you should set the ~ tilde symbol before the / slash, e.g.

    Dim imagepath() As String = {"~/WebsiteDocuments/xxxsports"} The tilde represents the root of your web application.


    Kind regards,
    Rumen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top