Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > FileExplorer > Add a RadProgressArea inside the Upload dialog

Not answered Add a RadProgressArea inside the Upload dialog

Feed from this thread
  • Posted on Jan 25, 2010 (permalink)

    Requirements

    RadControls version RadControls for ASP.NET AJAX
    .NET version
    .NET 3.5
    Visual Studio version

    2008
    programming language JavaScript/C#
    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    How to embed a RadProgressArea inside the Upload window.

    THE RESULT

    Reply

  • Muhammad Farjad avatar

    Posted on Apr 8, 2010 (permalink)

    Hi,

    I tried this method in my project and I got this error:

    Error 3 An object reference is required for the non-static field, method, or property 'System.Web.UI.Control.ClientID.get'

    Can I know what's the problem and how to solve it?

    Thanks
    Muhammad Farjad

    Reply

  • Dobromir Dobromir admin's avatar

    Posted on Apr 13, 2010 (permalink)

    Hi Muhammad,

    I tested the attached project and it is working as expected. Could you please open a support ticket and provide a sample project that reproduce the mentioned problem so we can investigate it further?

    In addition, the most common reason for this error to occur is if you are trying to access a non-static property inside a static method - to avoid this you need to a reference to an instance of the object whose property you are trying to access.

    Kind regards,
    Dobromir
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Muhammad Farjad avatar

    Posted on Apr 14, 2010 (permalink)

    Hi Dobromir,

    I found out the problem myself, it was a childish mistake that caused the error. But now I am having a new problem :-), I have opened a support ticket for it. Have a look at it, your help will be appreciated. Thanks

    Regards
    Muhammad Farjad

    Reply

  • woutercop avatar

    Posted on Nov 16, 2010 (permalink)

    Its works perfect but i do not see the uploader if in IE7 if i set it online,
    offline it works perfect in IE7, online it works also in IE8 / FireFox / Crhome ...

    does anyone has an idea?

    regards
    Wouter

    Reply

  • Fiko Fiko avatar

    Posted on Nov 19, 2010 (permalink)

    Hello Woutercop,

    I am not quite sure what is causing the problem in IE7. It looks like a permission issue related to the browser's settings, so I recommend you to try these steps:
    • Restore default settings of the browser
    • Uninstall all browser addons and try the page again

    In case that the suggested did not help, could you please send a live URL where we can try to isolate the issue?

    Kind regards,
    Fiko
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

    Reply

  • Darren avatar

    Posted on Dec 9, 2010 (permalink)

    Greetings,

    I am looking for the same functionality when uploading files. However, the example appears to "simulate" a progress bar as it is updated at a time interval versus the actual amount of data that is uploaded. While it looks nice, it is not truthfully showing users how much time uploading smaller files versus larger files will take. The progress bar ticks along at the same pace regardless of the size of the file being uploaded.

    Is there a way to refer to the total bytes uploaded from within the "RadFileExplorer1_ItemCommand" function in the example? Or any other solution that would resolve this? I have been looking for some time now but am unable to figure it out.

    Thank you kindly for your time.
    Darren

    Reply

  • Fiko Fiko avatar

    Posted on Dec 15, 2010 (permalink)

    Hi Darren,

    The example simulates uploading a large file and this i for demonstration purpose. You will get the desired result however, if you remove the ItemCommand handler and really upload a large file. I have prepared a screencapture of a real scenario, with uploading a big file. The video is attached to this thread.

    Regards,
    Fiko
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
    Attached files

    Reply

  • John M avatar

    Posted on Jan 14, 2011 (permalink)

    Hello,

    I have implemented the example code and I am able to upload small files, but if I attempt a large file (that is still under the max file size I specified) I get the below error.  This one is from Chrome, IE gave a much less descriptive error:

    This webpage is not available

    The webpage at http://localhost:50637/default.aspx?RadUrid=f01aca1b-0aa4-45dd-bca2-c65d14650e34 might be temporarily down or it may have moved permanently to a new web address.
    Error 101 (net::ERR_CONNECTION_RESET): Unknown error.


    Any ideas as to what would cause this or am I missing something?  Similar to the video, I specified a max of 1000MB and attempted to upload a 107MB file.  I did not paste any code because I didn't change anything from the demo.

    Thanks for your help!

    John

    Reply

  • Dobromir Dobromir admin's avatar

    Posted on Jan 19, 2011 (permalink)

    Hi John,

    This error might occur if the uploaded file's size exceed the maximum allowed file size of the ASP.NET. Could you please verify that you have set maxRequestLength property to the <httpRuntime> in the web.config.

    In the video posted by Fiko, you can see that this value is set to 2GB
    <httpRuntime maxRequestLength="2097152" />.

    You can find more information regarding httpRuntime section in the following article:
    http://msdn.microsoft.com/en-us/library/e1f13641%28v=vs.71%29.aspx

    Regards,
    Dobromir
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > FileExplorer > Add a RadProgressArea inside the Upload dialog