When you using MVC Ajax in a razor view like this
@using (Ajax.BeginForm("Something", new { id = Model.Id }, new AjaxOptions
{
UpdateTargetId = "something + Model.Id,
InsertionMode = InsertionMode.ReplaceWith,
LoadingElementId = "loading"
}))
{
Html.RenderPartial("Something", foto);
}
How can I create in bootstrap a overlay to show progress and prevent the user to use the page while the page is loading?
You can create a hidden bootstrap overlay and modal with infinite loading progressbar like this for example: