protected void AjaxFileUpload1_UploadStart(object sender, AjaxControlToolkit.AjaxFileUploadStartEventArgs e)
 {
 }
 void XhrStart()
 {
     var filesInQueue = int.Parse(Request.QueryString["queue"] ?? "0");
     var args = new AjaxFileUploadStartEventArgs(filesInQueue);
     if(UploadStart != null)
         UploadStart(this, args);
     Response.Write(new JavaScriptSerializer().Serialize(args));
 }
Exemplo n.º 3
0
 protected void upload_OnUploadStart(object sender, AjaxControlToolkit.AjaxFileUploadStartEventArgs e)
 {
     lbMsg.Text = "fdsaf";
 }
 protected void AjaxFileUpload1_UploadStart(object sender, AjaxFileUploadStartEventArgs e)
 {
     var now = DateTime.Now;
     e.ServerArguments = now.ToShortTimeString();
     Session["uploadTime"] = now;
 }
Exemplo n.º 5
0
 protected void AjaxFileUpload1_UploadStart(object sender, AjaxControlToolkit.AjaxFileUploadStartEventArgs e)
 {
     if (string.IsNullOrEmpty(txtAlbumName.Text))
     {
     }
 }