Showing something when loading data


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Showing something when loading data

  1. #1
    Join Date
    Aug 2005
    Posts
    111

    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

  2. #2
    Join Date
    Dec 2004
    Posts
    717
    It will not show if you set visible to false at the end of Event.
    Best Regards,
    Michael Sync
    http://michaelsync.net

    The more you share,The more you get

  3. #3
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    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

  1. OVERSEAS Online Data Entry Information
    By jai in forum Careers
    Replies: 0
    Last Post: 02-21-2003, 12:43 AM
  2. Replies: 1
    Last Post: 03-03-2002, 11:03 PM
  3. Loading of High Volume XML Data Island
    By Basavaraj Patil in forum Web
    Replies: 0
    Last Post: 01-12-2002, 06:54 AM
  4. Replies: 0
    Last Post: 07-22-2000, 05: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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center