RadEditor cannot upload documents

5 posts, 0 answers
  1. Stephanie
    Stephanie avatar
    8 posts
    Member since:
    Dec 2013

    Posted 29 Jul 2015 Link to this post

    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

     

  2. Vessy
    Admin
    Vessy avatar
    1385 posts

    Posted 30 Jul 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stephanie
    Stephanie avatar
    8 posts
    Member since:
    Dec 2013

    Posted 30 Jul 2015 in reply to Vessy Link to this post

    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>

  5. teja
    teja avatar
    2 posts
    Member since:
    Jul 2015

    Posted 04 Aug 2015 Link to this post

    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..
     
  6. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 06 Aug 2015 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017