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

Image Manager Upload Disabled

1 Answer 193 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 13 Jan 2009, 04:31 AM
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>

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jan 2009, 04:56 PM
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.
Tags
Editor
Asked by
Susan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or