How to show a loading image in an ASPPageBox whilst the asp page loads
If your aspx page takes a long time to load a good way of indicating that the application is busy and that the page is actually loading is to display a loading image inside the asppagebox itself.
Categories: ASP.NET
|
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, ASP.NET, Pre v6.3, v6.3, v6.4 and Later
Revision:
1
Posted:
06/Jan/2010
Updated:
06/Jan/2010
Status:
Publish
Types: Code
|
Attached is a sample vwg application that shows how to do this http://www.lambretta.me.uk/downloads/ASPPageBoxLoadingSample.zip The VWG form as a toolbar at the bottom The first button will add an asppagebox to the form, the page_load event of the asp page makes it take a while to open, and so the asppagebox displays its background image during the loading the third button changes the url for the asppagebox to another long loading page, during the transition from one page to the other the loading image is again shown the second button on the toolbar simply resets the form and removes the asp pagebox from it cheers james (and I hope that someone finds this info useful) Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it. Terms of Agreement: By using this code, you agree to the following terms... 1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge. 2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws. 3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
About the author
Related Articles
|
ASP.NET
|
|
|
This video demonstrates how to embed ASP.NET pages in Visual WebGui.
Tags:
Architects, Developers, 1. Beginner, 2. Intermediate, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
Large organizations that make use of SQL server may well also use Reporting Services to create a corporate reporting solution that is accessible across the corporate LAN / WAN.
This article shows how to access such a server using the report viewer control.
Tags:
Architects, Developers, Wrapper, C#, 2. Intermediate, 3. Advanced, Wrapping Controls, v6.3, v6.4 and Later
|
|
|
This video demonstrates how to use the Visual WebGui within an ASP.Net site.
Tags:
Architects, Developers, C#, 2. Intermediate, 3. Advanced, ASP.NET, Cloud, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, ASP.NET, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, ASP.NET, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Architects, Developers, Events, C#, JavaScript, VB.NET, 2. Intermediate, 3. Advanced, ASP.NET, Pre v6.3, v6.3, v6.4 and Later
|
|
|
|