<< 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.
Starting SharePoint workflow for each item in a list
Adding Custom Menu Item to MOSS/WSS List Actions Menu
Resolving "Tracing Service lost trace events" in MOSS 2007
SharePoint Error Craziness: Volume 1
SharePoint STSADM AddSolution Object Reference not set to an Instance of the Object error
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: