<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1"
                            TargetFolder="Uploads" OnClientFileUploaded="fileUploaded"
                            HttpHandlerUrl="~/UploadHandler.ashx">
    </telerik:RadAsyncUpload>
    <script type="text/javascript">
        function fileUploaded(sender, e) {
            alert("File uploaded (" + e.get_fileName() + ")");
        }
    </script>
</asp:Content>
