<< Back To All Blogs
What causes "Please wait while scripts are loaded..." in SharePoint
Friday, September 26th, 2008
What was happening was my script was actually failing, but because of the order in which these events were occurring their check to see if the page had finished loading was actually eating the exception thrown by my code. In short, my code wasn't performing properly, nor was the code from Microsoft.
How do you get around this? Well, let's just start by saying that this is definitely a hack, and this goes from me tracing what actually occurs their function to trigger, but you can put the following code before your code:
g_pageLoadComplete = true
SharePoint Tom Out.
Using MOSS and WSS SharePoint Workflow to Resize Images in an Image Library
Adding a Custom ASP.NET Page to MOSS/WSS
Configuring ASP.NET (And SharePoint) to use SQL-based Sessions
Fixing Access Denied While creating a new page in MOSS/WSS
Kate said on Thursday, March 25th, 2010 @ 4:24 PM
This worked beautifully. Thankyou!
Tom said on Friday, March 13th, 2009 @ 8:52 AM
I actually didn't debug it in Visual Studio. I had to load up the script files as resources (that could be viewed without obfuscation) on the SharePoint server. I would then step through using FireBug and change the script server-side as necessary (this was on a development server, I would not recommend that for a live server).
Hope that helps!
Julien said on Friday, March 13th, 2009 @ 8:02 AM
Add A Comment
Email Address: (not public, used to send notifications on further comments)
Enter the text above, except for the 1st and last character: