protected override void OnPreRender(EventArgs e) { if (WorkQueueItemKey == null || _workQueue == null) { // make sure all dialogs are closed ScheduleWorkQueueDialog.Hide(); WorkQueueItemDetailsPanel.Visible = false; ResetWorkQueueDialog.Hide(); Message.Text = SR.WorkQueueNotAvailable; Message.Visible = true; UpdatePanel.Update(); } else { Message.Visible = false; } WorkQueueItemDetailsPanel.AutoRefresh = !DeleteWorkQueueDialog.IsShown && !ScheduleWorkQueueDialog.IsShown; base.OnPreRender(e); }
private void ResetWorkQueueItem() { ResetWorkQueueDialog.WorkQueueItemKey = WorkQueueItemKey; ResetWorkQueueDialog.Show(); }