Working sample to download

2 posts, 1 answers
  1. weyer
    weyer avatar
    3 posts
    Member since:
    Nov 2014

    Posted 08 Dec 2014 Link to this post

    I haven't been successful getting AsyncUpload to work from VS2013.  Is there a complete VS project I can download that shows how to upload a file from a web page?  Thanks
  2. Answer
    Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 11 Dec 2014 Link to this post


    There are many online demos here:

    This is the minimum code that is needed for file uploading:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
        <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
        <form id="form1" runat="server">
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
            <telerik:RadAsyncUpload runat="server" ID="upload" TargetFolder="~/Uploads"></telerik:RadAsyncUpload>
            <telerik:RadButton ID="rbSubmit" runat="server" Text="Submit"></telerik:RadButton>

    Sample project can be downloaded from github.

    Hristo Valyavicharski

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top