I've checked this question and it solved my initial problems. But I don't want the partial view to be rendered only when the user clicks a link, I want to render partial views when the page is loaded and, possibly, show a progress indicator while the partial view is being loaded.
How to achieve that?
Thank you very much for reading this.
You can render it in the initial page by writing
@Html.Partial(...)
.If you want to load the page and then load the partial view via ajax you could create an
ActionMethod
that does something like:and then in your page do something like:
Controller
on the Default Page (using jquery ajax operation)