Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow opening Dialog

Status
Not open for further replies.

NevG

Programmer
Oct 10, 2000
162
GB
Hi gang

Merry Xmas !! - ok now to the boring stuff

I have an asp page that opens a dialog page using

window.showmodaldialog();

This dialog appears on the screen but pauses before showing the content for maybe 2 secs. This form I have inherited from existing code and so I am just trying to debug it. I have noticed that in the onload event of the BODY element there is a call to a function that does XMLHTTPPOST submit of a form... is this the problem? Is this slowing my page down?

Ive been doing ASP for a while so Im not a numpty but XMLHTTPPOST is a new one to me and so Im curious as to whether this is the problem. Everything else is straight forward and should not cause any issues with the page at all.

Thanks troops

Nev G
 
Well without seeing the code I'm guessing they're calling a web page (using an xml you can get the content from any web site) and using this in the modal form. That would explain the delay since it's just like you loading a web page in your browser.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top