-
Showing something when loading data
Hi,
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
Codes:
-------
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
End sub
-
It will not show if you set visible to false at the end of Event.
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
Replies: 0
Last Post: 02-20-2003, 11:43 PM
-
Replies: 1
Last Post: 03-03-2002, 10:03 PM
-
By Basavaraj Patil in forum Web
Replies: 0
Last Post: 01-12-2002, 05:54 AM
-
By sb in forum VB Classic
Replies: 0
Last Post: 07-22-2000, 04:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks