RadAsyncUpload client side validation

4 posts, 0 answers
  1. Bassem
    Bassem avatar
    14 posts
    Member since:
    Jul 2012

    Posted 24 Jul 2012 Link to this post

    hello.. i am using RadAsyncUpload to upload my client files i want 2 check if the current uploaded file size is larger then the maximum allowed file size i want 2 display my validation label without making that file appear in the progress area like appearing in the second image
  2. James Campbell
    James Campbell avatar
    90 posts
    Member since:
    Jul 2012

    Posted 24 Jul 2012 Link to this post

    You could remove the file from the control using the client side events. Take a look through here and you will find a couple of ways to do this on failed validation:

    The Client Object
    http://www.telerik.com/help/aspnet-ajax/asyncupload-client-object.html

    OnClientValidationFailed Event
    http://www.telerik.com/help/aspnet-ajax/asyncupload-onclientvalidationfailed.html

    Client Side Basics
    http://www.telerik.com/help/aspnet-ajax/asyncupload-client-side-basics.html

    Any questions please let me know.

    Thank you,
    James Campbell
    MCP, MCSA, MCSE, Security +
    Telerik MVP

    If this helped anwer you question, please mark this post as answered. Thank you.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bassem
    Bassem avatar
    14 posts
    Member since:
    Jul 2012

    Posted 25 Jul 2012 Link to this post

    could you please give me an example of how can i achieve this i looked at those pages you give me but i couldn't come with a solution
  5. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 28 Nov 2012 Link to this post

    Hello,

     
    I am attaching a sample page where is implemented the recommended way to hide the uploading list of files in RadAsyncUpload. 

    Hope this will be helpful.

    Greetings,
    Plamen
    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