When Job status is finished, modal window disappear and I can't see messages from Job.Status.Messages, is there any way to hold window ? Job is triggered by Command.

var jobOption = new JobOptions(CommandTitle, CommandCategory, Client.Site.Name, this, nameof(Action), new object[] { args })
                ContextUser = Context.User,
                ClientLanguage = Context.Language

            var job = JobManager.Start(jobOption);
            var longRunningOption = new LongRunningOptions(job.Handle.ToString())
                Title = CommandTitle,
                Icon = string.Empty

            job.Finished += OnJob_FinishedFaildMessage;

            handleString = job.Handle.ToString();


If is set e.Job.Status.State to JobState.Unknown in OnJob_FinishedFaildMessage, modal window not disapper.

  • 1
    Can you be more specific? How do you trigger the job? – Marek Musielak Dec 2 '19 at 8:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.