protected override void OnAfterRender(bool firstRender) { //Do Stuff } protected override async Task OnAfterRenderAsync(bool firstRender) { //DoStuff }