Failed to render control: Value cannot be null. Parameter name: String
<div style='color:red'>Failed to render control: Value cannot be null. Parameter name: String</div>

Search

Accessible SharePoint WebSites
Download ARF

Failed to render control: Value cannot be null. Parameter name: String
 

Comments

Tuesday, 11 Nov 2008 11:15 by Manish
This is helpful. Also on the same line you can see the article here: http://manish-sharepoint.blogspot.com/2008/05/improving-sharepoint-site-performance.html

Monday, 17 Nov 2008 02:04 by Richard Harbridge
Cute. I can't believe I didn't think of this. Thank you, Richard

Friday, 19 Dec 2008 03:14 by

Wednesday, 21 Jan 2009 07:56 by Yair
When you remove the init.js file, the OnLoad function spBodyOnLoadWrapper() throws an error. Is this function can be removed also? Thanks.

Monday, 23 Feb 2009 03:48 by Ergin BULUT
You can remove onload event on body tag or create a dummy spBodyOnLoadWrapper() function inside script tags over init.js line so in design mode spBodyOnLoadWrapper function in init.js file can overwrite dummy one.

Wednesday, 15 Apr 2009 02:39 by Mahmoud Algoul
I have create a dummy spBodyOnLoadWrapper() function inside script tags over init.js line, it removed one error from 3, and the error appear only for Anonymous users, any help please.

Wednesday, 10 Jun 2009 09:41 by Sam
Just to take note that if you use this method. Using the backend to upload Alternate CSS URL for a Site Master Template will not render in the Annoynomous Mode as the Alternate CSS URL will appear together with the CSS (eg: core.css) under the CSSLink Control.

Tuesday, 14 Jul 2009 07:44 by Brad
I tried this out and something else seems to still inject controls.css and init.js, even for anonymous. As a guess, if any sharepoint controls such as the search control or content query are on the page the controls must do a registerscript to force these to be included, even if anonymous? But that's just a guess.

Wednesday, 15 Jul 2009 03:08 by Brad
I tried this out and something else seems to still inject controls.css and init.js, even for anonymous. As a guess, if any sharepoint controls such as the search control or content query are on the page the controls must do a registerscript to force these to be included, even if anonymous? But that's just a guess.

Tuesday, 1 Sep 2009 03:58 by Scott
Well this certainly is an interesting concept. I am not sure how the following will be affected without the init.js. There is a KB article (http://support.microsoft.com/?kbid=931509 that suggests commenting out function ProcessImn() in init.js. However, if you do comment it out, you will loose the functionality of "Upload Multiple Documents" within a document library. As a result of commenting it out (or in the case of this article - removing the file) The client browser does not load MSO.DLL and when STSUPLD.DLL won't be able to locate it - breaking things as described above. So, this really is a question I guess... if you use the authoring container methodology as described in this article, does the multiple document upload feature remain ? Scott

Thursday, 10 Jun 2010 07:09 by Willie
I have encountered the same issue as Yair. That is, after removal of the init.js file, the OnLoad function spBodyOnLoadWrapper() threw an error. Thanks a lot to Ergin BULUT for the advise on how to fix that. It worked for me. Also, thanks to the author of the article. It's really informative. Good luck.

Tuesday, 27 Jul 2010 01:45 by sameer
Lots of useful information with a wealth of great resources. Helpful from start to finish



Url

Email

Comments