Can upload files over 1MB

Thread is closed for posting
4 posts, 1 answers
  1. Kevon Hayes
    Kevon Hayes avatar
    34 posts
    Member since:
    Apr 2010

    Posted 03 Jan 2012 Link to this post

    I've changed the
     <system.web>
          <httpRuntime maxRequestLength="102400" executionTimeout="3600" />
    </system.web>
    and the
    <system.webserver>
    <security >
        <requestFiltering>
            <requestLimits maxAllowedContentLength="1024000000" />
        </requestFiltering>
    </security>
    </system.webserver>
    The progress bar will appear to upload but upon completion I just see the
    file select and submit button again instead of the controls upload control
    being hidden which is what is supposed to happen.
  2. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 05 Jan 2012 Link to this post

    Hi Kevon,

    Your web config settings are correct, currently you should be able to upload files with size up to 100mb.

    Please provide us the implementation that you are using so we could replicate it locally and test it.

    All the best,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kevon Hayes
    Kevon Hayes avatar
    34 posts
    Member since:
    Apr 2010

    Posted 05 Jan 2012 Link to this post

    I removed the MaxFileSize property from the radwindow control and resolved this error.  You all should include in your documentation the measurement for this property:  Bytes or KB?
  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 09 Jan 2012 Link to this post

    Hi Kevon,

    The maxRequestLength property expects a value which is in kilobytes, whereas the maxAllowedContentLength is specified in bytes. As for the MaxFileSize property of the RadAsyncUpload/RadUpload controls, it's specified in bytes.

    Hope this would be helpful.

    Greetings,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top