okay, so my problem is a little bit difficult. I have a cshtml page that has a bit of code that is executed onCompleted and which then gets data from the Model. I want the result to be inserted into an table:
Response.OnCompleted(async () => {
string table = await Model.getTable();
//Set table as innerHtml from my table
});
So how can I either call a js function which then sets the innerHtml or can I set the innerHtml directly via C#?
I have to run it like that because I want it to fill the data after the page is loaded. Is that even possible how I want it to be?