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
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.
I added the following to the web.config and it is working now. Thank you very much for your quick response.
<requestLimits maxAllowedContentLength="1024000000" />
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:
Further, you can extend this element to be a server control and populate the content from the code-behind.