Hide HTML page before IE's done loading?

ASP.NET

    Sponsored Links

    Next

  • 1. webpart and Access
    As we know the default database of asp.net 2.0 webpart is sql2005 express,and I hope change into Access or xml filehow to ,is there any reference of article
  • 2. Problem sending email to address of different domain
    I have some code in a web app (asp.net 2.0) and am trying to send an email to 2 different recipients. The first one works and the second one fails. the first email address is of the same domain as the web app (myAp.com, XXXX@XXXXX.COM ) and the second one is of a different domain ( XXXX@XXXXX.COM ). Why would the 2nd address fail? here's the error msg Mailbox unavailable. The server response was: not local host OtherDomain.com, not a gateway at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) and here's the code: For Each sAddress In adrses Dim msg As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage() msg.To.Add(sAddress) msg.Subject = Caption msg.Body = "New Data Element Has Been Submitted." & vbNewLine & vbNewLine & data msg.From = New System.Net.Mail.MailAddress(" XXXX@XXXXX.COM ") mailSvr.Send(msg) Next sAddress How can I send email to other address such as customers? Thanks. -- XXXX@XXXXX.COM
  • 3. clear text password in login control in ASP.Net 2.0
    Hello, I am using Login control in ASP.Net 2.0. I have also done settings for Membership class in Web.Config file. Now I want to know that how can I hash the password travelling from the Client Side to the Server Side. Do I have to call server Side Functions from the Client Side. please help Thank you
  • 4. How to write ASP.NET trace message to a file that rotate daily ?
    I am new in ASP.net programing. I want to send all trace message to a file as follow: <system.diagnostics> <trace autoflush="true"> <listeners> <add name="TestTracer" type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" initializeData="<app root directory>\Asptesttrace.log" /> </listeners> </trace> </system.diagnostics> The problem is that the file will grow infinitely in size. How can I make the file rotate daily so that a new log file is created every day?

Hide HTML page before IE's done loading?

Postby Lars Netzel » Sat, 29 Jul 2006 20:43:02 GMT

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 



Re: Hide HTML page before IE's done loading?

Postby cannontrodder » Sat, 29 Jul 2006 21:41:44 GMT

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.





Similar Threads:

1.Hide IE toolbars, menubar after page has loaded

Hello,
I am launching a webage with my url. Then in javascript I want to hide
the toolbars and menubar. Is this possible after the page has
launched.

I know window.open() does this but because of the way our application
is I have to do it once page has loaded.

Thanks.

2.html page won't load on IE ?

3.SWF Causes HTML/PHP Page to Stop Loading on Windows XP, IE, Explorer

4.Hiding an image on a html page

I know this is probably the wrong place for this question, but it is the 
closest I could come. Redirection welcome.

The VB6 application I support uses a webbrowser control locally to display 
pages containing various options. I inherited it, and redesign isn't an 
option.

What I need to do is hide/show (or swap in a blank) an image depending on 
what happens in the VB program.  This is >not< a rollover scenario. There is 
no user input on the browser side, so no events to consume in script.

By comparision, we currently use a readonly Input class in the HTML and the 
HTMLInputTextElement class in the VB code to change the text that is 
displayed.

I need to do something similar with an image.

I would really appreciate any suggestions on how to make this work.

Thanks,

John

5.Internet Explorer loads page full(done) then shows Blank Screen

hello!
my IE has got a specail problem. from until 2 weeks when I 
surf to differnt pages my IE loads the page with "done" 
and then show a blank page instead of the full loaded 
page??
has got anyone a answer?

6. links don't work in ie6 when page is done loading

7. IE7 - Some pages do not load (Done but blank)

8. IE7 RC1 pages show "Done" before loading



Return to ASP.NET

 

Who is online

Users browsing this forum: No registered users and 9 guest