BusyDialog in OnInitializedAsync

The code used in the BusyDialog demo works well if called in response to a button click but not if I put it into the OnInitializedAsync method. Usually what happens is there is no response while my page loads data and then the BusyDialog appears quickly and then disappears and the data controls are populated. Is there anything I can do to get it to work in OnInitializedAsync?


It won't work in that event as it is raised before anything is rendered in the page.

OK, good to know. Thanks.