Reputation: 1189
How can I show loading Progress bar in Asp.net MVC5 , while application starting the Home Index page
I know how to show and hide progress bar but my issue is what event I need to capture to start the progressbar when page init and hide progress bar when page loaded fully.
Upvotes: 1
Views: 4566
Reputation: 17182
You can use PACE JQuery plugin and here its get started tutorial
Upvotes: 0
Reputation: 1688
I believe that your concern is not strictly progress bar, but how to implement this before landing page. So my answer is that the only way (without using silverlight or flash) would be create some 'almost blank' landing page and then, when this site will be loaded you have to make ajax call for content of this site (during this process you can display progress bar). It makes impression that progress bar is displayed before landing page. I cannot see any other solution.
Best Regards
Upvotes: 1
Reputation: 473
You can use jquery for that purpose but you should not use progress bar for whole page.It should be used with ASP.NET MVC views especially the partial views. The following useful article can help
How Do I Display a Progress Bar?
Regards.
Upvotes: 3