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

RadEditor cannot upload documents

4 Answers 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stephanie
Top achievements
Rank 1
Stephanie asked on 29 Jul 2015, 01:34 PM

We recently upgraded to .Net 4.5 and I am now receiving a 404 File or Directory Not Found error when I try to upload a pdf.  I have made all the changes to the web.config that were suggested in the documentation.

Any help would be appreciated

 

4 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 30 Jul 2015, 08:18 AM
Hi Stephanie,

Such an error is usually thrown when a client is trying to upload file bigger than 4MB. Is this also the case on your side? If so, please, examine the following help topic, explaining the needed configurations to fix the problem: Uploading Large Files

If this is not the case, though, can you provide some more details on the exact scenario in which the problem occurs? A runnable sample reproducing the issue and/or a video demonstrating it will be of great help in solving the case.

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Stephanie
Top achievements
Rank 1
answered on 30 Jul 2015, 01:00 PM

Vessy,

I added the following to the web.config and it is working now.  Thank you very much for your quick response.

<security >    

<requestFiltering>        

<requestLimits maxAllowedContentLength="1024000000" />    

</requestFiltering>
</security>

0
teja
Top achievements
Rank 1
answered on 04 Aug 2015, 02:58 PM
I have an xml document which i have to display in the rad editor in a read only mode. How can i do that. If i try to disable the Editor or the content text area it doesnt show the xml tags. it only shows plain text. where as in editable mode it shows everything..
 
0
Ianko
Telerik team
answered on 06 Aug 2015, 05:46 AM
Hi Teja,

As I can see your question is not related to the Upload controls or the Upload mechanism of RadEditor. When help is requested from forum thread, please, keep in mind to follow the thread's topic. This way the forum threads gets more concise and concrete, so that other developers from the Telerik community can easily find relevant information as per to their interests. Thank you. 

As for showing XML content, note that RadEditor is an XHTML editor and XML is not the type of content that is supported. Moreover, it is not a content that is supported by the browser engine. Also, it is expected that once XML tags get into an HTML editor, the tags to not be displayed as the browser engine renders only the text inside. However, I can only guess why RadEditor should be involved in shown read-only XML content. Editing is not available with such a content, thus, all RadEditor features are unsupported and subsequently not available to the end-user.

By the way. the requested result can be fulfilled by using a plain textarea element:
<textarea disabled="disabled">
    <xmlTag>text</xmlTag>
    <xmlTag>
        <nestedTag>nested text</nestedTag>
        <nestedTag>nested text</nestedTag>
        <nestedTag>nested text</nestedTag>
    </xmlTag>
</textarea>

Further, you can extend this element to be a server control and populate the content from the code-behind.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Stephanie
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Stephanie
Top achievements
Rank 1
teja
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or