protected async System.Threading.Tasks.Task Upload0Complete(UploadCompleteEventArgs args) { TooltipService.Open(upload0.Element, $"Upload succeeded!", new TooltipOptions() { Duration = 200000000, Position = TooltipPosition.Right }); }
public async Task Completed(UploadCompleteEventArgs args) { NotificationService.Notify(NotificationSeverity.Success, "Uploaded Successfully"); DocumentModels = await Client.GetAllDocuments(); Progress = 0; StateHasChanged(); }
async Task OnUploadComplete(UploadCompleteEventArgs args) { if (args.JsonResponse.RootElement.TryGetProperty("url", out var property)) { Attributes.Src = property.GetString(); await InsertHtml(); } else { DialogService.Close(true); } }
protected void OnComplete(UploadCompleteEventArgs args) { NavigationManager.NavigateTo($"photodetail/{args.RawResponse}"); }
void server_UploadComplete(object sender, UploadCompleteEventArgs e) { toolStripStatusLabel1.Text = e.frame.CaptureTime.ToString() + " " + (e.success ? "Uploaded Successfully" : "Failed to Upload"); }