Client method called by ScriptManager.RegisterStartupScript not firing
问题 Can somebody look at the below code and tell me what I am doing wrong. for(i=0;i<=Request.Files.Count;i++) { int percentComplete = (int)Math.Ceiling((double)(i + 1) / (double)Request.Files.Count * 100); string message = string.Format("{0} of {1} uploaded", i + 1, Request.Files.Count); ScriptManager.RegisterStartupScript(this, this.GetType(), "progress", @"do_progress("+message+","+percentComplete+");", true); } I am trying to update the client with each pass of the loop. On the client (inside