Hide HTML page before IE's done loading?

Discussion in 'ASP .Net' started by Lars Netzel, Jul 28, 2006.

  1. Lars Netzel

    Lars Netzel Guest

    I have a pretty big page that on some sloconnections load about 50% of the
    page and then before the page has finished loading the rest the user changes
    a dropdownbox that causes a postback and then I of course if face with an
    Invalid Viewstate problem.

    How can I prevent the browser from shoign the page before it's fully loaded
    on the client?

    I'm sure I've heared abotu this before but I cannot find anything when
    searching on it

    best regards
    /Lars
     
    Lars Netzel, Jul 28, 2006
    #1
    1. Advertising

  2. Put the whole thing i a div, make it hidden and use a javascript onLoad
    event handler unhide it. This might work with the body tag itself but
    if you do it with a div, you could have one div that says "Please
    wait..." and once the whole thing is loaded, switch that off and your
    main div on.

    Lars Netzel wrote:
    > I have a pretty big page that on some sloconnections load about 50% of the
    > page and then before the page has finished loading the rest the user changes
    > a dropdownbox that causes a postback and then I of course if face with an
    > Invalid Viewstate problem.
    >
    > How can I prevent the browser from shoign the page before it's fully loaded
    > on the client?
    >
    > I'm sure I've heared abotu this before but I cannot find anything when
    > searching on it
    >
    > best regards
    > /Lars
     
    cannontrodder, Jul 28, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Si5CLg==?=

    Hide message before redirect to another .aspx page.

    =?Utf-8?B?Si5CLg==?=, Jan 9, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    773
    John Timney \(Microsoft MVP\)
    Jan 9, 2004
  2. Greenhorn
    Replies:
    7
    Views:
    507
    Lawrence Kirby
    Aug 31, 2005
  3. Greenhorn
    Replies:
    0
    Views:
    323
    Greenhorn
    Aug 26, 2005
  4. Zhidian Du
    Replies:
    0
    Views:
    160
    Zhidian Du
    Feb 21, 2004
  5. edfialk
    Replies:
    0
    Views:
    189
    edfialk
    May 10, 2007
Loading...

Share This Page