Showing something when loading data
I have a .NET web page which loads data into several datalists and datagrid on the Page_Load event. Since the loading time is quite long and it looks not responsing in the web browser, so I want to some a animated GIF indicating the web page is not idle.
I set the VISIBLE property of the GIF to TRUE at the very beginning section in the Page_Load event and set it back to FALSE at the end of the event. However, when executing in the browser, the GIF is not displayed anyway.
What's wrong with it? Thanks
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Image.visible = True
....... loading datalist and datagrid ....
Image.visible = False
It will not show if you set visible to false at the end of Event.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Last Post: 02-21-2003, 12:43 AM
Last Post: 03-03-2002, 11:03 PM
By Basavaraj Patil in forum Web
Last Post: 01-12-2002, 06:54 AM
By sb in forum VB Classic
Last Post: 07-22-2000, 05:07 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL