protected void AjaxFileUpload1_UploadCompleteAll(object sender, AjaxFileUploadCompleteAllEventArgs e)
    {
        var startedAt = (DateTime)Session["uploadTime"];
        var now       = DateTime.Now;

        e.ServerArguments = new JavaScriptSerializer()
                            .Serialize(new {
            duration = (now - startedAt).Seconds,
            time     = DateTime.Now.ToShortTimeString()
        });
    }
Beispiel #2
0
 protected void AjaxFileUpload1_UploadCompleteAll(object sender, AjaxFileUploadCompleteAllEventArgs e)
 {
 }